public final class ColorUtils
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
toHexString(int red,
int green,
int blue)
Converts red, green, blue values to a hex string that can then be used in a URL when making API
request.
|
public static java.lang.String toHexString(int red, int green, int blue)
red
- the value of the color which needs to be convertedgreen
- the value of the color which needs to be convertedblue
- the value of the color which needs to be converted