apihlaja / node-irsdk

iRacing SDK implementation for Node.js.
https://apihlaja.github.io/node-irsdk
MIT License
102 stars 55 forks source link

Licence Color #81

Closed iamisti closed 1 year ago

iamisti commented 4 years ago

The licence color value returning in a format that I couldn't figure out how to get a color out of it. Licence colors as we have now: 87003 50946 16706564

How i suppose to convert these to actual colors?

heimdallexus commented 4 years ago

Its available in decimals. Just convert it to hex: number.toString(16).toUpperCase()