public class KnownColors extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
tryFindColor(String keyword,
Rgb24Color[] output)
Tries to find a color by its string name.
|
static boolean |
tryFindName(Rgb24Color color,
String[] name)
Tries to find a color name by its RGB value.
|
public static boolean tryFindColor(String keyword, Rgb24Color[] output)
keyword - A color name.output - The result container for the found color,
or CssLevel1.Black on failure.public static boolean tryFindName(Rgb24Color color, String[] name)
color - A color instance.name - The result container for the found color name,
or null on failure.Copyright © 2025. All rights reserved.