26.05.2016, 16:43
Adding to what Konstantinos said, you could also use the 'h' or 'x' specifier in sscanf, which would be hex.
An example of a hex color: RRGGBBAA
https://sampwiki.blast.hk/wiki/Colors_List
An example of a hex color: RRGGBBAA
https://sampwiki.blast.hk/wiki/Colors_List