predefinedColorNames

A map of predefined Compose Color constants to their Kotlin code representations.

Used by ColorField.valueCode to output readable color names (e.g., Color.Red) instead of hex values when the selected color matches a predefined constant.

Also used by withPredefinedColorHint to provide quick-select hints for common colors.

Includes the following colors:

  • Primary: Red, Green, Blue, Black, White

  • Secondary: Cyan, Magenta, Yellow

  • Grays: Gray, DarkGray, LightGray

  • Special: Transparent, Unspecified