-
public final class ColorKt
-
-
Method Summary
Modifier and Type Method Description final StringtoHexString(Integer $self)Converts an integer to it's hex representation by converting it to base 16 and appending the '#' character to the startFor example, 16777215becomes#ffffff-
-
Method Detail
-
toHexString
final String toHexString(Integer $self)
Converts an integer to it's hex representation by converting it to base 16 and appending the '#' character to the start
For example,
16777215becomes#ffffff
-
-
-
-