[OPTIONAL]:Returns the color index for given r,g,b values
Documentation
[OPTIONAL]:Returns the color index for given r,g,b values
Parameters:
r - ,g,b values for the color
Returns:
index for the color in the color table
NOTE: To get colors that are close to what you wish it to be, you can
download any color utility that shows the R,G,B components for a color
and pass the values to this function. You can use the return values
in the Palm color functions.