-
April 20th, 2009, 06:41 AM
#1
Need help recognizing color blend algorithm
Been pondering and researching over these for days
I thought maybe it's just a linear interpolate but I wonder why the values are offset by 1-6 o.O
I can produce more data if anyone requests
fades from red(ff0000) to blue (0000ff)
Code:
#ff0000
#0000ff
<#ff0000>1</> 255,0,0
<#ff0000>1</> 255,0,0
<#0100fd>2</> 1,0,253
<#ff0000>1</> 255,0,0
<#81007d>2</> 129,0,125
<#0100fd>3</> 1,0,253
<#ff0000>1</> 255,0,0
<#ab0053>2</> 171,0,83
<#5700a7>3</> 87,0,167
<#0100fd>4</> 1,0,253
<#ff0000>1</> 255,0,0
<#c1003d>2</> 193,0,61
<#81007d>3</> 129,0,125
<#4100bd>4</> 65,0,189
<#0100fd>5</> 1,0,253
<#ff0000>1</> 255,0,0
<#cd0031>2</> 205,0,49
<#9b0063>3</> 155,0,99
<#670097>4</> 103,0,151
<#3500c9>5</> 53,0,201
<#0100fd>6</> 1,0,253
<#ff0000>1</> 255,0,0
<#d50029>2</> 213,0,41
<#ab0053>3</> 171,0,83
<#81007d>4</> 129,0,125
<#5700a7>5</> 87,0,167
<#2d00d1>6</> 45,0,209
<#0100fd>7</> 1,0,253
<#ff0000>1</> 255,0,0
<#db0023>2</> 219,0,35
<#b70047>3</> 183,0,71
<#93006b>4</> 147,0,107
<#6f008f>5</> 111,0,143
<#4b00b3>6</> 75,0,179
<#2700d7>7</> 39,0,215
<#0100fd>8</> 1,0,253
<#ff0000>1</> 255,0,0
<#e1001d>2</> 225,0,29
<#c1003d>3</> 193,0,61
<#a1005d>4</> 161,0,93
<#81007d>5</> 129,0,125
<#61009d>6</> 97,0,157
<#4100bd>7</> 65,0,189
<#2100dd>8</> 33,0,221
<#0100fd>9</> 1,0,253
fades from red to green to blue
Code:
#ff0000
#00ff00
#0000ff
<color=#ff0000>1</> 255,0,0
<color=#ff0000>1</> 255,0,0
<color=#0003fb>2</> 0,3,251
<color=#ff0000>1</> 255,0,0
<color=#03fb00>2</> 3,251,0
<color=#0003fb>3</> 0,3,251
<color=#ff0000>1</> 255,0,0
<color=#57a700>2</> 87,167,0
<color=#00af4f>3</> 0,175,79
<color=#0003fb>4</> 0,3,251
<color=#ff0000>1</> 255,0,0
<color=#837b00>2</> 131,123,0
<color=#03fb00>3</> 3,251,0
<color=#00837b>4</> 0,131,123
<color=#0003fb>5</> 0,3,251
<color=#ff0000>1</> 255,0,0
<color=#9b6300>2</> 155,99,0
<color=#37c700>3</> 55,199,0
<color=#00cf2f>4</> 0,207,47
<color=#006b93>5</> 0,107,147
<color=#0003fb>6</> 0,3,251
<color=#ff0000>1</> 255,0,0
<color=#ab5300>2</> 171,83,0
<color=#57a700>3</> 87,167,0
<color=#03fb00>4</> 3,251,0
<color=#00af4f>5</> 0,175,79
<color=#005ba3>6</> 0,91,163
<color=#0003fb>7</> 0,3,251
-
April 20th, 2009, 11:08 PM
#2
Re: Need help recognizing color blend algorithm
Edit: Ah, wait, I think I just now understood.
Actually, it may be a conversion to HSV and back for each iteration. I'm not sure the properties of something like that, but it seems likely.
Last edited by SlickHawk; April 20th, 2009 at 11:12 PM.
-
April 27th, 2009, 05:55 AM
#3
Re: Need help recognizing color blend algorithm
in HLS with difference:
Code:
FF0000
0000FF
00FF00
RGB HLS Diff
<ff0000>T</> 0,120,240
<f3000b>h</> 238,114,240 -238,6,0
<e70017>i</> 236,109,240 2,5,0
<db0023>s</> 234,103,240 2,6,0
<cf002f> </> 231,97,240 3,6,0
<c3003b>i</> 228,92,240 3,5,0
<b3004b>s</> 223,84,240 5,8,0
<a70057> </> 219,79,240 4,5,0
<9b0063>h</> 214,73,240 5,6,0
<8f006f>o</> 209,67,240 5,6,0
<83007b>w</> 202,62,240 7,5,0
<770087> </> 195,64,240 7,-2,0
<670097>y</> 187,71,240 8,-7,0
<5b00a3>o</> 182,77,240 5,-6,0
<4f00af>u</> 178,82,240 4,-5,0
<4300bb>r</> 174,88,240 4,-6,0
<3700c7> </> 171,94,240 3,-6,0
<2b00d3>m</> 168,99,240 3,-5,0
<1b00e3>e</> 165,107,240 3,-8,0
<0f00ef>s</> 163,112,240 2,-5,0
<0300fb>s</> 160,118,240 3,-6,0
<0007f7>a</> 159,116,240 1,2,0
<0013eb>g</> 157,111,240 2,5,0
<0023db>e</> 154,103,240 3,8,0
<002fcf> </> 151,97,240 3,6,0
<003bc3>t</> 148,92,240 3,5,0
<0047b7>e</> 144,86,240 4,6,0
<0053ab>x</> 141,80,240 3,6,0
<005f9f>t</> 136,75,240 5,5,0
<006f8f> </> 129,67,240 7,8,0
<007b83>w</> 122,62,240 7,5,0
<008777>i</> 115,64,240 7,-2,0
<00936b>l</> 109,69,240 6,-5,0
<009f5f>l</> 104,75,240 5,-6,0
<00ab53> </> 99,80,240 5,-5,0
<00bb43>a</> 94,88,240 5,-8,0
<00c737>p</> 91,94,240 3,-6,0
<00d32b>p</> 88,99,240 3,-5,0
<00df1f>e</> 86,105,240 2,-6,0
<00eb13>a</> 83,111,240 3,-6,0
<00fb03>r</> 80,118,240 3,-7,0
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|