java.lang.Object
is.codion.swing.common.ui.Colors
Utilities class for Color.
-
Method Summary
-
Method Details
-
darker
Returns a darker version of the given color, using 0.8 as the mulitiplication factor.- Parameters:
color
- the color to darken- Returns:
- a darker version of the given color
- See Also:
-
darker
Returns a darker version of the given color, using the given factor.- Parameters:
color
- the color to darkenfactor
- a number between 0 and 1, non-inclusive- Returns:
- a darker version of the given color
- See Also:
-