Colton Idle
02/10/2021, 8:27 PMAdam Powell
02/10/2021, 8:32 PMColor.toArgb()
then print the int as a hex stringcb
02/10/2021, 8:32 PMcolor.toArgb().toString(16)
Adam Powell
02/10/2021, 8:33 PMColton Idle
02/10/2021, 8:33 PMtoString(16)
is admittedly going over my head. Will read into it. Never seen that before. loltoString(16)
didn't work, but toHexString()
did for what it's worth. Thanks.
I actually had this originally but the IDE complained to me that toArgb is only allowed in 1.4.30 and I'm not on that yet.Zach Klippenstein (he/him) [MOD]
02/10/2021, 8:47 PMtoString(16)
means “convert to string in base-16”, “hex” just means base 16Colton Idle
04/06/2021, 9:27 AM