Reference 〉 Function Color.darken() Creates a new color, slightly darker than the original. Used for generating hover colors. Return Value — Color A new Color object.
Notes and Examples