# Breakdown Colour Hex or RGB Based on Hue

**URL:** https://forum.kirupa.com/t/breakdown-colour-hex-or-rgb-based-on-hue/205886
**Category:** Uncategorized
**Created:** [November 2, 2006, 10:09pm UTC](https://forum.kirupa.com/t/breakdown-colour-hex-or-rgb-based-on-hue/205886 "2006-11-02T22:09:03Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![DariusMonsef](https://avatars.discourse-cdn.com/v4/letter/d/a6a055/32.png) [@DariusMonsef](https://forum.kirupa.com/u/DariusMonsef)
#### Post date: [November 2, 2006, 10:09pm UTC](https://forum.kirupa.com/t/breakdown-colour-hex-or-rgb-based-on-hue/205886/1 "2006-11-02T22:09:03Z")

</div>

Can somebody figure out this bit of logic for me…

Basically I want to know where these following hues fall on the hex value scale or RGB… So FF3817is red… we know that by looking at it. What if I wanted to have code figure out which Hue it was?

Say Red is all colours between: FF0000 - FF4444 Orange is all hexes between FF4444 - FFB10B Etc. (Those number are not accurate…)

**Hues**  
Red  
Yellow  
Blue  
Green  
Orange  
Violet  
Pink  
Brown  
Black  
Gray

Create the rough between numbers and I got $50 bucks for the person that does it well… let me know before you start…
