### Question:
ColorUtils { public static String getRGB(float n) { return String.format(Locale.ENGLISH, "%.0f", n).replaceAll("\\.0*$", ""); } private  ColorUtils(); static String getRGB(float n); static String RGBToHex(int n); static float[] RGBToHSB(@IntRange(from = 0, to = 255) int r,
                                   @IntRange(from = 0, to = 255) int g,
                                   @IntRange(from = 0, to = 255) int b); static float[] RGBToHSL(@IntRange(from = 0, to = 255) int red,
                                   @IntRange(from = 0, to = 255) int green,
                                   @IntRange(from = 0, to = 255) int blue,
                                   float[] hsl); static String getColorMessage(@IntRange(from = 0, to = 255) int rgbRColor,
                                         @IntRange(from = 0, to = 255) int rgbGColor,
                                         @IntRange(from = 0, to = 255) int rgbBColor,
                                         @IntRange(from = 0, to = 255) int rgbOpacity); static String getComplementaryColorMessage(short[] argbColorValues,
                                                      short[] argbComplementaryColorValues,
                                                      short[] argbContrastColorValues); static int[] hexToRGB(String hexValue); static int[] hexToARGB(String hexValue); static int getComplementaryColor(@IntRange(from = 0, to = 255) int rgbRColor,
                                            @IntRange(from = 0, to = 255) int rgbGColor,
                                            @IntRange(from = 0, to = 255) int rgbBColor); static int getContrastColor(@IntRange(from = 0, to = 255) int rgbRColor,
                                       @IntRange(from = 0, to = 255) int rgbGColor,
                                       @IntRange(from = 0, to = 255) int rgbBColor);  }### Answer:
@Test public void colorUtils_getRGB() { assertEquals(ColorUtils.getRGB(0), "0"); assertEquals(ColorUtils.getRGB(100), "100"); assertEquals(ColorUtils.getRGB(255), "255"); assertEquals(ColorUtils.getRGB(0.10f), "0"); assertEquals(ColorUtils.getRGB(100.10f), "100"); assertEquals(ColorUtils.getRGB(255.10f), "255"); }