text property

Color text

Returns the color shade for a surface depending on the ZetaContrast value.

For ZetaContrast.aa, it returns 60. For ZetaContrast.aaa, it returns 80.

Implementation

Color get text => shade(contrast.text);