Is it possible to go from a Color to a hex value?i.e. I have some colors defined, but I want to print out the hex value on top of the color for debugging so it would be nice to just be able to reference the Color and get the hex value.
Probably going to sound dumb, but I stumbled upon this problem again today (trying to convert a color I have defined in compose into something human readable I can show on the screen.) I noticed my method I used before of toHexString actually came from okhttp, so I went back to try toString(16) (as it was rec'd in SO as well), but I end up with negative values. Am I missing something basic here?