Skip to content

Instantly share code, notes, and snippets.

@kriegsman
Last active August 29, 2015 14:07
Show Gist options
  • Save kriegsman/c0d187c4fcdc198a1ab8 to your computer and use it in GitHub Desktop.
Save kriegsman/c0d187c4fcdc198a1ab8 to your computer and use it in GitHub Desktop.
Comparison of 'total numeric light output' for RGB colors coming out of FastLEDv2.1 hsv2rgb_rainbow
EXPLANTION: This table shows the total light output for FastLED v2.1's "hsv2rgb_rainbow" function
for a variety of hue, saturation, and value inputs.
Each cell shows the sum of the Red, Green, and Blue values returned from the HSV-to-RGB conversion,
which we could call the 'total numeric light output' for that RGB color.
FINDINGS: For any given saturation and value, the 'total numeric light output' is basically constant
across all hues +/-1, with the exception of yellow and the hues near yellow, which have higher
power output -- by design.
NEXT: A question remains though: does "252,0,0" _appear_ brighter or dimmer than "126,126,0",
or "84,84,84"? They all have the same 'total numeric light output', but that doesn't mean they
have the same _apparent_ brightness.
hue: 0 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240
sat val red orn yellows grn aqu blu pur pnk
--- ---
255 255 255 255 256 298 342 299 255 255 256 256 255 255 256 256 256 256
255 223 195 195 196 228 262 229 195 195 196 196 195 195 196 196 196 196
255 191 143 143 144 167 192 168 143 143 144 144 143 143 144 144 144 144
255 159 99 100 100 117 134 117 99 100 100 100 99 100 100 100 100 100
255 127 64 65 65 75 86 76 64 65 65 65 64 65 65 65 65 65
255 95 36 36 37 43 50 43 36 36 37 37 36 36 37 37 37 37
255 63 16 17 17 19 22 20 16 17 17 17 16 17 17 17 17 17
255 31 4 5 5 5 6 6 4 5 5 5 4 5 5 5 5 5
223 255 235 235 236 272 310 273 235 235 236 236 235 235 236 236 236 236
223 223 181 181 182 209 238 210 181 181 182 182 181 181 182 182 182 181
223 191 133 133 134 154 175 155 133 133 134 134 133 133 134 134 134 134
223 159 92 92 93 107 122 107 92 92 93 93 92 92 93 93 93 93
223 127 61 61 61 70 80 70 61 61 61 61 61 61 61 61 61 61
223 95 34 34 35 40 45 40 34 34 35 35 34 34 35 35 35 34
223 63 17 16 16 19 21 18 17 16 16 16 17 16 16 17 16 16
223 31 6 5 6 6 7 6 6 5 6 6 6 5 6 5 6 5
191 255 239 239 240 271 304 272 239 239 240 240 239 239 240 240 240 240
191 223 184 184 184 208 233 209 184 184 184 184 184 184 184 185 184 185
191 191 134 134 135 153 171 153 134 134 135 135 134 134 135 136 135 135
191 159 95 94 94 106 119 107 95 94 94 95 95 94 94 94 94 94
191 127 62 62 63 70 79 70 62 62 63 62 62 62 63 62 63 62
191 95 36 35 36 40 45 40 36 35 36 36 36 35 36 35 36 35
191 63 17 17 18 19 22 19 17 17 18 17 17 17 18 17 18 17
191 31 6 5 6 6 7 6 6 5 6 6 6 5 6 5 6 5
159 255 267 268 268 294 322 295 267 268 268 268 267 268 268 268 268 268
159 223 205 205 205 225 246 226 205 205 205 206 205 205 205 206 205 205
159 191 151 152 151 166 181 167 151 152 151 152 151 152 151 152 151 152
159 159 104 105 105 115 126 115 104 105 105 104 104 105 105 105 105 105
159 127 69 69 69 75 82 76 69 69 69 69 69 69 69 69 69 69
159 95 40 39 40 44 48 43 40 39 40 39 40 39 40 40 40 39
159 63 19 18 18 20 21 20 19 18 18 18 19 18 18 19 18 18
159 31 6 5 6 6 7 6 6 5 6 6 6 5 6 5 6 5
127 255 319 319 320 341 362 341 319 319 320 320 319 319 320 320 320 320
127 223 244 244 245 261 277 261 244 244 245 245 244 244 245 245 245 245
127 191 179 179 180 192 204 191 179 179 180 180 179 179 180 180 180 180
127 159 124 124 125 133 141 133 124 124 125 125 124 124 125 125 125 125
127 127 82 82 82 88 93 87 82 82 82 82 82 82 82 83 82 82
127 95 47 46 47 50 52 50 47 46 47 47 47 46 47 48 47 47
127 63 22 22 22 24 25 23 22 22 22 22 22 22 22 23 22 22
127 31 7 7 7 8 8 7 7 7 7 7 7 7 7 8 7 7
95 255 395 396 396 412 428 412 395 396 396 396 395 396 396 396 396 396
95 223 303 304 303 315 327 316 303 304 303 303 303 304 303 303 303 304
95 191 221 222 222 231 240 231 221 222 222 222 221 222 222 222 222 222
95 159 154 154 155 161 167 161 154 154 155 155 154 154 155 155 155 154
95 127 101 102 102 106 110 106 101 102 102 102 101 102 102 102 102 102
95 95 58 58 58 60 63 60 58 58 58 58 58 58 58 57 58 58
95 63 27 27 27 28 29 28 27 27 27 27 27 27 27 27 27 27
95 31 8 7 8 8 8 8 8 7 8 8 8 7 8 8 8 7
63 255 495 496 496 507 518 507 495 496 496 496 495 496 496 496 496 496
63 223 378 380 379 388 396 388 378 380 379 379 378 380 379 380 379 380
63 191 278 279 279 285 291 285 278 279 279 278 278 279 279 279 279 279
63 159 193 193 193 198 202 198 193 193 193 193 193 193 193 194 193 193
63 127 126 126 126 129 131 129 126 126 126 126 126 126 126 127 126 126
63 95 72 71 72 73 75 73 72 71 72 72 72 71 72 71 72 71
63 63 33 33 33 34 34 34 33 33 33 33 33 33 33 34 33 33
63 31 10 10 9 9 9 10 10 10 9 9 10 10 9 9 9 10
31 255 619 620 620 625 630 625 619 620 620 620 619 620 620 620 620 620
31 223 473 474 474 478 482 478 473 474 474 474 473 474 474 474 474 474
31 191 347 348 348 351 354 351 347 348 348 348 347 348 348 348 348 348
31 159 240 241 241 242 244 243 240 241 241 241 240 241 241 240 241 241
31 127 157 157 157 159 160 158 157 157 157 157 157 157 157 158 157 157
31 95 88 89 89 89 90 90 88 89 89 89 88 89 89 88 89 89
31 63 41 40 40 41 41 40 41 40 40 40 41 40 40 41 40 40
31 31 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment