View Single Post
Originally Posted by psycore View Post
Yes, it's possible. You have to read out the color number of the user's item.dat and then convert the color number to RGB. Unfortunately there is no function for colorcode -> RGB so I'm trying to put something together. At least there is a list of colorcodes with RGB here. The format is colorcode name R G B ?. Usually the last number is alpha but it doesn't make any sense here. Doesn't matter anyways.

get_color_info(), it returns the rgb in a float from 0 to 1.