4
Convert a RGB Color Value to a Hexadecimal String
Dalam aplikasi Java saya, saya bisa mendapatkan Color of a JButton in terms of red, green and blue; I have stored these values in three ints. Bagaimana cara mengubah nilai RGB tersebut menjadi yang Stringmengandung representasi heksadesimal yang setara? Seperti#0033fA