From Wikipedia, the free encyclopedia
All 59 tests passed.
test01_rgb
test01_rgb
Test Expected Actual
Y
{ { #invoke:Color/sandbox| hexToRgbTriplet| fefdfc} }
254, 253, 252
254, 253, 252
test02_cmyk_black
test02_cmyk_black
Test Expected Actual
Y
{ { #invoke:Color/sandbox| hexToCmyk| precision= 3| 000} }
0.000%, 0.000%, 0.000%, 100.000%
0.000%, 0.000%, 0.000%, 100.000%
test03_cmyk_white
test03_cmyk_white
Test Expected Actual
Y
{ { #invoke:Color/sandbox| hexToCmyk| precision= 3| fff} }
0.000%, 0.000%, 0.000%, 0.000%
0.000%, 0.000%, 0.000%, 0.000%
test04_cmyk_turquoise
test04_cmyk_turquoise
Test Expected Actual
Y
{ { #invoke:Color/sandbox| hexToCmyk| precision= 3| 40E0D0} }
71.429%, 0.000%, 7.143%, 12.157%
71.429%, 0.000%, 7.143%, 12.157%
test05_cmyk_morchid
test05_cmyk_morchid
Test Expected Actual
Y
{ { #invoke:Color/sandbox| hexToCmyk| precision= 3| BA55D3} }
11.848%, 59.716%, 0.000%, 17.255%
11.848%, 59.716%, 0.000%, 17.255%
test06_cmyk_gold
test06_cmyk_gold
Test Expected Actual
Y
{ { #invoke:Color/sandbox| hexToCmyk| precision= 3| FFD700} }
0.000%, 15.686%, 100.000%, 0.000%
0.000%, 15.686%, 100.000%, 0.000%
test07_cmyk_gray
test07_cmyk_gray
Test Expected Actual
Y
{ { #invoke:Color/sandbox| hexToCmyk| precision= 3| 808080} }
0.000%, 0.000%, 0.000%, 49.804%
0.000%, 0.000%, 0.000%, 49.804%
test08_hsl_black
test08_hsl_black
Test Expected Actual
Y
{ { #invoke:Color/sandbox| hexToHsl| precision= 3| 000} }
0.000°, 0.000%, 0.000%
0.000°, 0.000%, 0.000%
test09_hsl_white
test09_hsl_white
Test Expected Actual
Y
{ { #invoke:Color/sandbox| hexToHsl| precision= 3| FFF} }
0.000°, 0.000%, 100.000%
0.000°, 0.000%, 100.000%
test10_hsl_crimson
test10_hsl_crimson
Test Expected Actual
Y
{ { #invoke:Color/sandbox| hexToHsl| precision= 3| DC143C} }
348.000°, 83.333%, 47.059%
348.000°, 83.333%, 47.059%
test11_hsl_msgreen
test11_hsl_msgreen
Test Expected Actual
Y
{ { #invoke:Color/sandbox| hexToHsl| precision= 3| 00FA9A} }
156.960°, 100.000%, 49.020%
156.960°, 100.000%, 49.020%
test12_hsl_rblue
test12_hsl_rblue
Test Expected Actual
Y
{ { #invoke:Color/sandbox| hexToHsl| precision= 3| 4169E1} }
225.000°, 72.727%, 56.863%
225.000°, 72.727%, 56.863%
test13_hsv_black
test13_hsv_black
Test Expected Actual
Y
{ { #invoke:Color/sandbox| hexToHsv| precision= 3| 000} }
0.000°, 0.000%, 0.000%
0.000°, 0.000%, 0.000%
test14_hsv_white
test14_hsv_white
Test Expected Actual
Y
{ { #invoke:Color/sandbox| hexToHsv| precision= 3| FFF} }
0.000°, 0.000%, 100.000%
0.000°, 0.000%, 100.000%
test15_hsv_crimson
test15_hsv_crimson
Test Expected Actual
Y
{ { #invoke:Color/sandbox| hexToHsv| precision= 3| DC143C} }
348.000°, 90.909%, 86.275%
348.000°, 90.909%, 86.275%
test16_hsv_msgreen
test16_hsv_msgreen
Test Expected Actual
Y
{ { #invoke:Color/sandbox| hexToHsv| precision= 3| 00FA9A} }
156.960°, 100.000%, 98.039%
156.960°, 100.000%, 98.039%
test17_hsv_rblue
test17_hsv_rblue
Test Expected Actual
Y
{ { #invoke:Color/sandbox| hexToHsv| precision= 3| 4169E1} }
225.000°, 71.111%, 88.235%
225.000°, 71.111%, 88.235%
test18_cielch_black
test18_cielch_black
Test Expected Actual
Y
{ { #invoke:Color/sandbox| hexToCielch| precision= 3| 000} }
0.000, 0.000, 0.000°
0.000, 0.000, 0.000°
test19_cielch_white
test19_cielch_white
Test Expected Actual
Y
{ { #invoke:Color/sandbox| hexToCielch| precision= 3| FFF} }
100.000, 0.000, 0.000°
100.000, 0.000, 0.000°
test20_cielch_red
test20_cielch_red
Test Expected Actual
Y
{ { #invoke:Color/sandbox| hexToCielch| precision= 3| F00} }
53.237, 179.038, 12.177°
53.237, 179.038, 12.177°
test21_cielch_yellow
test21_cielch_yellow
Test Expected Actual
Y
{ { #invoke:Color/sandbox| hexToCielch| precision= 3| FF0} }
97.139, 107.086, 85.874°
97.139, 107.086, 85.874°
test22_cielch_green
test22_cielch_green
Test Expected Actual
Y
{ { #invoke:Color/sandbox| hexToCielch| precision= 3| 0F0} }
87.736, 135.790, 127.715°
87.736, 135.790, 127.715°
test23_cielch_cyan
test23_cielch_cyan
Test Expected Actual
Y
{ { #invoke:Color/sandbox| hexToCielch| precision= 3| 0FF} }
91.115, 72.086, 192.177°
91.115, 72.086, 192.177°
test24_cielch_blue
test24_cielch_blue
Test Expected Actual
Y
{ { #invoke:Color/sandbox| hexToCielch| precision= 3| 00F} }
32.301, 130.690, 265.874°
32.301, 130.690, 265.874°
test25_cielch_magenta
test25_cielch_magenta
Test Expected Actual
Y
{ { #invoke:Color/sandbox| hexToCielch| precision= 3| F0F} }
60.323, 137.405, 307.715°
60.323, 137.405, 307.715°
test26_cielch_grey
test26_cielch_grey
Test Expected Actual
Y
{ { #invoke:Color/sandbox| hexToCielch| precision= 3| 808080} }
53.585, 0.000, 0.000°
53.585, 0.000, 0.000°
test27_cielch_awhite
test27_cielch_awhite
Test Expected Actual
Y
{ { #invoke:Color/sandbox| hexToCielch| precision= 3| FAEBD7} }
93.731, 19.577, 59.249°
93.731, 19.577, 59.249°
test28_cielch_onyx
test28_cielch_onyx
Test Expected Actual
Y
{ { #invoke:Color/sandbox| hexToCielch| precision= 3| 353839} }
23.273, 1.833, 213.883°
23.273, 1.833, 213.883°
test29_cielch_licorice
test29_cielch_licorice
Test Expected Actual
Y
{ { #invoke:Color/sandbox| hexToCielch| precision= 3| 1A1110} }
5.943, 2.917, 18.604°
5.943, 2.917, 18.604°
test30_cmyk_darkestred
test30_cmyk_darkestred
Test Expected Actual
Y
{ { #invoke:Color/sandbox| hexToCmyk| 010000} }
0%, 0%, 0%, 100%
0%, 0%, 0%, 100%
test31_cmyk_darkestgreen
test31_cmyk_darkestgreen
Test Expected Actual
Y
{ { #invoke:Color/sandbox| hexToCmyk| 000100} }
0%, 0%, 0%, 100%
0%, 0%, 0%, 100%
test32_cmyk_darkestblue
test32_cmyk_darkestblue
Test Expected Actual
Y
{ { #invoke:Color/sandbox| hexToCmyk| 000001} }
0%, 0%, 0%, 100%
0%, 0%, 0%, 100%
test33_hsl_neargrey1
test33_hsl_neargrey1
Test Expected Actual
Y
{ { #invoke:Color/sandbox| hexToHsl| 808081} }
0°, 0%, 50%
0°, 0%, 50%
test34_hsl_neargrey2
test34_hsl_neargrey2
Test Expected Actual
Y
{ { #invoke:Color/sandbox| hexToHsl| 808180} }
0°, 0%, 50%
0°, 0%, 50%
test35_hsl_darkestred
test35_hsl_darkestred
Test Expected Actual
Y
{ { #invoke:Color/sandbox| hexToHsl| 010000} }
0°, 0%, 0%
0°, 0%, 0%
test36_hsl_darkestgreen
test36_hsl_darkestgreen
Test Expected Actual
Y
{ { #invoke:Color/sandbox| hexToHsl| 000100} }
0°, 0%, 0%
0°, 0%, 0%
test37_hsl_darkestblue
test37_hsl_darkestblue
Test Expected Actual
Y
{ { #invoke:Color/sandbox| hexToHsl| 000001} }
0°, 0%, 0%
0°, 0%, 0%
test38_hsl_lightestcyan
test38_hsl_lightestcyan
Test Expected Actual
Y
{ { #invoke:Color/sandbox| hexToHsl| FEFFFF} }
0°, 0%, 100%
0°, 0%, 100%
test39_hsl_lightestmagenta
test39_hsl_lightestmagenta
Test Expected Actual
Y
{ { #invoke:Color/sandbox| hexToHsl| FFFEFF} }
0°, 0%, 100%
0°, 0%, 100%
test40_hsl_lightestyellow
test40_hsl_lightestyellow
Test Expected Actual
Y
{ { #invoke:Color/sandbox| hexToHsl| FFFFFE} }
0°, 0%, 100%
0°, 0%, 100%
test41_hsv_neargrey1
test41_hsv_neargrey1
Test Expected Actual
Y
{ { #invoke:Color/sandbox| hexToHsv| EEEEEF} }
0°, 0%, 94%
0°, 0%, 94%
test42_hsv_neargrey2
test42_hsv_neargrey2
Test Expected Actual
Y
{ { #invoke:Color/sandbox| hexToHsv| EEEFEE} }
0°, 0%, 94%
0°, 0%, 94%
test43_hsv_darkestred
test43_hsv_darkestred
Test Expected Actual
Y
{ { #invoke:Color/sandbox| hexToHsv| 010000} }
0°, 0%, 0%
0°, 0%, 0%
test44_hsv_darkestgreen
test44_hsv_darkestgreen
Test Expected Actual
Y
{ { #invoke:Color/sandbox| hexToHsv| 000100} }
0°, 0%, 0%
0°, 0%, 0%
test45_hsv_darkestblue
test45_hsv_darkestblue
Test Expected Actual
Y
{ { #invoke:Color/sandbox| hexToHsv| 000001} }
0°, 0%, 0%
0°, 0%, 0%
test46_cielch_neargrey
test46_cielch_neargrey
Test Expected Actual
Y
{ { #invoke:Color/sandbox| hexToCielch| 111011} }
5, 0, 0°
5, 0, 0°
test47_cielch_darkestred
test47_cielch_darkestred
Test Expected Actual
Y
{ { #invoke:Color/sandbox| hexToCielch| 010000} }
0, 0, 0°
0, 0, 0°
test48_cielch_darkestgreen
test48_cielch_darkestgreen
Test Expected Actual
Y
{ { #invoke:Color/sandbox| hexToCielch| 000100} }
0, 0, 0°
0, 0, 0°
test49_cielch_darkestblue
test49_cielch_darkestblue
Test Expected Actual
Y
{ { #invoke:Color/sandbox| hexToCielch| 000003} }
0, 0, 0°
0, 0, 0°
test50_cielch_lightestcyan
test50_cielch_lightestcyan
Test Expected Actual
Y
{ { #invoke:Color/sandbox| hexToCielch| FEFFFF} }
100, 0, 0°
100, 0, 0°
test51_cielch_lightestmagenta
test51_cielch_lightestmagenta
Test Expected Actual
Y
{ { #invoke:Color/sandbox| hexToCielch| FFFEFF} }
100, 0, 0°
100, 0, 0°
test52_cielch_lightestyellow
test52_cielch_lightestyellow
Test Expected Actual
Y
{ { #invoke:Color/sandbox| hexToCielch| FFFFFC} }
100, 0, 0°
100, 0, 0°
test53_mix1
test53_mix1
Test Expected Actual
Y
{ { #invoke:Color/sandbox| hexMix| 00F| FF0} }
BCBCBC
BCBCBC
test54_mix2
test54_mix2
Test Expected Actual
Y
{ { #invoke:Color/sandbox| hexMix| 00F| 0F0| 25} }
0089E1
0089E1
test55_mix_limit1
test55_mix_limit1
Test Expected Actual
Y
{ { #invoke:Color/sandbox| hexMix| 00F| 0F0| 0} }
0000FF
0000FF
test56_mix_limit2
test56_mix_limit2
Test Expected Actual
Y
{ { #invoke:Color/sandbox| hexMix| 00F| 0F0| 100} }
00FF00
00FF00
test57_mix_clamp
test57_mix_clamp
Test Expected Actual
Y
{ { #invoke:Color/sandbox| hexMix| 00F| 0F0| 200} }
00FF00
00FF00
test58_mix_negative
test58_mix_negative
Test Expected Actual
Y
{ { #invoke:Color/sandbox| hexMix| 00F| 0F0| -50} }
0000FF
0000FF
test59_mix_proportion_range
test59_mix_proportion_range
Test Expected Actual
Y
{ { #invoke:Color/sandbox| hexMix| 00F| 0F0| 30| min= 20| max= 90} }
006AEE
006AEE