Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 462 Bytes

README.md

File metadata and controls

32 lines (24 loc) · 462 Bytes

C_Scratches

Better than nothing, templates from me.

08.08.2018 hex2rgb.c

  • Building
    • gcc hex2rgb.c -o hex2rgb
  • Using
    • ./hex2rgb FF00FF
yasin@uxn:~/C_Education/C_Scratches$ ./hex2rgb FF00FF
Hex24   #FF00FF
RGB888 (255, 0, 255)

Hex16   #F81F
RGB565 (31, 0, 31)

or

yasin@uxn:~/C_Education/C_Scratches$ ./hex2rgb
Enter 24bit hexValue: FF00FF
Hex24   #FF00FF
RGB888 (255, 0, 255)

Hex16   #F81F
RGB565 (31, 0, 31)