Created
April 26, 2019 10:04
-
-
Save tai-cha/30e3cd258c8ca6ba85eeb2765fa1c582 to your computer and use it in GitHub Desktop.
hex表示するやつ~~~~~~~~~~~~~~~~
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
String hex = String.format( "#%02X%02X%02X", | |
(int)( c.getRed() * 255 ), | |
(int)( c.getGreen() * 255 ), | |
(int)( c.getBlue() * 255 ) ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment