public final class CssColors extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
isColorKeyword(String token)
Returns if the specified token is a reserved color keyword.
|
static String |
toRGBColor(String color)
Gets the RGB equivalent of a CSS color if the provided color is recognized.
|
public static boolean isColorKeyword(String token)
token
- the token to checkCopyright © 2002–2024 Gargoyle Software Inc.. All rights reserved.