toCss

fun Int.toCss(alpha: Double? = null): String

Converts the receiver color int to a CSS expression.

Parameters

alpha

When set, overrides the actual color alpha.