Class CssColors
java.lang.Object
org.htmlunit.css.CssColors
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisColorKeyword(String token) Returns if the specified token is a reserved color keyword.static StringtoRGBColor(String color) Gets the RGB equivalent of a CSS color if the provided color is recognized.
-
Method Details
-
isColorKeyword
Returns if the specified token is a reserved color keyword.- Parameters:
token- the token to check- Returns:
- whether the token is a reserved color keyword or not
-
toRGBColor
-