miloguy
|
  |
| Joined: 19 Dec 2009 |
| Total Posts: 7702 |
|
|
| 16 Oct 2010 09:30 PM |
| Anyway, how do you turn a hue value into RGB? That has bothered me for a long time... |
|
|
| Report Abuse |
|
|
|
| 16 Oct 2010 09:34 PM |
| Don't you also need saturation and lightness or something? |
|
|
| Report Abuse |
|
|
miloguy
|
  |
| Joined: 19 Dec 2009 |
| Total Posts: 7702 |
|
|
| 16 Oct 2010 09:43 PM |
| Probably not... something that would make hue 0 return ff0000 |
|
|
| Report Abuse |
|
|
|
| 16 Oct 2010 10:04 PM |
| Hue, Saturation and Lightness _are_ needed. Otherwise, it's like trying to find red, green and blue channels only with the alpha channel. |
|
|
| Report Abuse |
|
|
miloguy
|
  |
| Joined: 19 Dec 2009 |
| Total Posts: 7702 |
|
|
| 16 Oct 2010 10:14 PM |
| What about if it just generated the brightest it could? |
|
|
| Report Abuse |
|
|
|
| 16 Oct 2010 10:14 PM |
| You wouldn't have the original picture. Things have reasons. |
|
|
| Report Abuse |
|
|
miloguy
|
  |
| Joined: 19 Dec 2009 |
| Total Posts: 7702 |
|
|
| 16 Oct 2010 10:16 PM |
| I'm not talking about changing a picture's hue, more just for some sort of color slider. |
|
|
| Report Abuse |
|
|
|
| 16 Oct 2010 10:19 PM |
Anyway, pretend this is a lmgtfy link: "hsl rgb" |
|
|
| Report Abuse |
|
|
|
| 16 Oct 2010 10:27 PM |
http://www.roblox.com/Hue-Sat-Lum-item?id=28318279 But from now on, ask your questions on scripting helpers. |
|
|
| Report Abuse |
|
|
Ozzypig
|
  |
| Joined: 27 Mar 2008 |
| Total Posts: 4906 |
|
|
| 16 Oct 2010 10:35 PM |
Hue, Saturation and Value, aka HSV.
Hue. Hue. Hue. It's from 0 to 255. It's all ratios, duuude. |
|
|
| Report Abuse |
|
|
miloguy
|
  |
| Joined: 19 Dec 2009 |
| Total Posts: 7702 |
|
| |
|
|
| 16 Oct 2010 11:15 PM |
| I do hue a 0-240, cuz that's what mspaint does. |
|
|
| Report Abuse |
|
|
XlegoX
|
  |
| Joined: 16 Jun 2008 |
| Total Posts: 14955 |
|
|
| 17 Oct 2010 12:48 AM |
| Assuming you mean Hue/Saturation/Luminance encoded colors, Google "HSL RGB" and most of the top results are algorithms describing exactly how to do the conversion. |
|
|
| Report Abuse |
|
|
|
| 17 Oct 2010 02:16 AM |
| 130.113.54.154/~monger/hsl-rgb.html |
|
|
| Report Abuse |
|
|