public final class ColorBuilder extends Object
HtmlColor
,
GwtMaterialColor
Modifier and Type | Method and Description |
---|---|
static IsColor |
build(int r,
int g,
int b)
Creates a color using red, green and blue channels.
|
static List<IsColor> |
parse(List<String> colorsAsString)
Builds a list of colors starting from a list of strings which represent colors.
|
static IsColor |
parse(String value)
Returns a color parsing the string value passed as argument.
It's able to parse HEX, RGB, RGBA and named color representation. |
public static List<IsColor> parse(List<String> colorsAsString)
colorsAsString
- list of strings which represent colorspublic static IsColor build(int r, int g, int b)
r
- red channelg
- green channelb
- blue channel