Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
8 votes
1 answer
2k views

Hexadecimal to RGB conversion

I am trying to convert hex to rgb, and rgb to hex. My current code doesn't seem optimal, and there is an issue with 0's in the hexadecimal. What do you think about the overall quality of this code? ...
Josue Espinosa's user avatar