I\'d like to make a percentage into a hexidecimal color. Kind of how HSV color degrees work... I am using PHP.
IE: 0% : RED (#FF0000) 8% : ORANGE
Try converting the percentage to HSV (divide the percentage by 100 to get the hue and just set the saturation and value to an arbitrary constant like 1) and then using this question to convert that to RGB form: PHP HSV to RGB formula comprehension