# test-results.txt: palette tool on known-colour logos and CC0 photos, run 2026-11-25 against https://koldflux.com/tools/palettes/image # flat logo exact-pixel shares from make.cjs: #FFFFFF 64.88%, #E4572E 18.78%, #17BEBB 9.04%, #2E282A 6.95% (375 distinct colours in total because of anti-aliased edges) control Sharma 2005 pair 1: got 2.0425 want 2.0425 -> PASS control Sharma 2005 pair 2: got 2.8615 want 2.8615 -> PASS control Sharma 2005 pair 3: got 3.4412 want 3.4412 -> PASS control red L: got 53.2408 want 53.2408 -> PASS control red a: got 80.0925 want 80.0925 -> PASS control red b: got 67.2032 want 67.2032 -> PASS control white L: got 100.0000 want 100 -> PASS control same colour dE: got 0.0000 want 0 -> PASS control black on white contrast: got 21.0000 want 21 -> PASS control #767676 on white contrast: got 4.5422 want 4.54 -> PASS == LOGO PICTURES (true logo colours #E4572E #17BEBB #2E282A) == logo-flat.png count=6 (tool default) | logo-flat.png: 800 × 600 px, 6 colors found in 9 ms | orange #E4572E -> #E4572E dE=0.00 | teal #17BEBB -> #17BEBB dE=0.00 | dark #2E282A -> #2E282A dE=0.00 | worst dE=0.00 | other swatches: #FFFFFF(white background) #F1A792 #6E696B | all: #FFFFFF 65%, #E4572E 18.8%, #17BEBB 9.1%, #2E282A 7%, #F1A792 0.2%, #6E696B 0% logo-flat.png count=4 | logo-flat.png: 800 × 600 px, 4 colors found in 2 ms | orange #E4572E -> #E4572E dE=0.00 | teal #17BEBB -> #17BEBB dE=0.00 | dark #2E282A -> #2E282A dE=0.00 | worst dE=0.00 | other swatches: #FFFFFF(white background) | all: #FFFFFF 65%, #E4572E 18.9%, #17BEBB 9.1%, #2E282A 7% logo-flat.png count=3 | logo-flat.png: 800 × 600 px, 3 colors found in 3 ms | orange #E4572E -> #E4582F dE=0.20 | teal #17BEBB -> #E3F7F7 dE=24.62 | dark #2E282A -> #2E282A dE=0.00 | worst dE=24.62 | other swatches: #E3F7F7 | all: #E3F7F7 74.1%, #E4582F 19%, #2E282A 7% logo-small.jpg count=6 (tool default) | logo-small.jpg: 200 × 150 px, 6 colors found in 6 ms | orange #E4572E -> #E3572D dE=0.30 | teal #17BEBB -> #1FBEBC dE=0.45 | dark #2E282A -> #2D292A dE=1.50 | worst dE=1.50 | other swatches: #FEFEFE(white background) #D5856F #938E8F | all: #FEFEFE 64.6%, #E3572D 17.8%, #1FBEBC 9.2%, #2D292A 6.9%, #D5856F 1.3%, #938E8F 0.3% logo-small.jpg count=4 | logo-small.jpg: 200 × 150 px, 4 colors found in 4 ms | orange #E4572E -> #E25830 dE=0.41 | teal #17BEBB -> #1FBEBC dE=0.45 | dark #2E282A -> #302C2D dE=1.88 | worst dE=1.88 | other swatches: #FEFEFD(white background) | all: #FEFEFD 65%, #E25830 18.8%, #1FBEBC 9.2%, #302C2D 7.1% logo-small.jpg count=3 | logo-small.jpg: 200 × 150 px, 3 colors found in 3 ms | orange #E4572E -> #E25931 dE=0.50 | teal #17BEBB -> #E2F6F5 dE=24.40 | dark #2E282A -> #2E292A dE=1.00 | worst dE=24.40 | other swatches: #E2F6F5 | all: #E2F6F5 74.2%, #E25931 19%, #2E292A 6.9% logo-noisy.jpg count=6 (tool default) | logo-noisy.jpg: 800 × 600 px, 6 colors found in 75 ms | orange #E4572E -> #E0552C dE=0.97 | teal #17BEBB -> #17BBB7 dE=0.90 | dark #2E282A -> #2D2729 dE=0.32 | worst dE=0.97 | other swatches: #F6F6F6(white background) #D88B75 #6B6969 | all: #F6F6F6 64.9%, #E0552C 18.7%, #17BBB7 9.1%, #2D2729 7%, #D88B75 0.3%, #6B6969 0% logo-noisy.jpg count=4 | logo-noisy.jpg: 800 × 600 px, 4 colors found in 137 ms | orange #E4572E -> #E0552D dE=0.97 | teal #17BEBB -> #17BBB7 dE=0.90 | dark #2E282A -> #2E2729 dE=0.65 | worst dE=0.97 | other swatches: #F6F6F6(white background) | all: #F6F6F6 65%, #E0552D 18.9%, #17BBB7 9.1%, #2E2729 7% logo-noisy.jpg count=3 | logo-noisy.jpg: 800 × 600 px, 3 colors found in 6 ms | orange #E4572E -> #E0552D dE=0.97 | teal #17BEBB -> #DBEFEE dE=23.38 | dark #2E282A -> #2E2729 dE=0.65 | worst dE=23.38 | other swatches: #DBEFEE | all: #DBEFEE 74.1%, #E0552D 18.9%, #2E2729 7% logo-gradient-bg.png count=6 (tool default) | logo-gradient-bg.png: 800 × 600 px, 6 colors found in 22 ms | orange #E4572E -> #E4572E dE=0.00 | teal #17BEBB -> #17BEBB dE=0.00 | dark #2E282A -> #2E282A dE=0.00 | worst dE=0.00 | other swatches: #EDEEF1(white background) #D7DBE1 #E69D8A | all: #EDEEF1 38.9%, #D7DBE1 26.1%, #E4572E 18.8%, #17BEBB 9.1%, #2E282A 7%, #E69D8A 0.2% logo-gradient-bg.png count=4 | logo-gradient-bg.png: 800 × 600 px, 4 colors found in 2 ms | orange #E4572E -> #E4572E dE=0.00 | teal #17BEBB -> #17BEBB dE=0.00 | dark #2E282A -> #2E282A dE=0.00 | worst dE=0.00 | other swatches: #E4E7EA | all: #E4E7EA 65%, #E4572E 18.9%, #17BEBB 9.1%, #2E282A 7% logo-gradient-bg.png count=3 | logo-gradient-bg.png: 800 × 600 px, 3 colors found in 3 ms | orange #E4572E -> #E4572E dE=0.00 | teal #17BEBB -> #CBE2E5 dE=21.26 | dark #2E282A -> #2E282A dE=0.00 | worst dE=21.26 | other swatches: #CBE2E5 | all: #CBE2E5 74.1%, #E4572E 18.9%, #2E282A 7% == PHOTOS: how many photo pixels sit near each swatch (320 px wide copy, dE00<=10) == CONTROL flat logo #FFFFFF tool-share 65% | pixels within dE10: 64.8% | nearest pixel dE 0.00 CONTROL flat logo #E4572E tool-share 18.8% | pixels within dE10: 18.8% | nearest pixel dE 0.00 CONTROL flat logo #17BEBB tool-share 9.1% | pixels within dE10: 9.1% | nearest pixel dE 0.00 CONTROL flat logo #2E282A tool-share 7% | pixels within dE10: 6.9% | nearest pixel dE 0.00 CONTROL flat logo #F1A792 tool-share 0.2% | pixels within dE10: 0.2% | nearest pixel dE 0.00 CONTROL flat logo #6E696B tool-share 0% | pixels within dE10: 0.0% | nearest pixel dE 2.52 CONTROL fake swatch #FF00FF on flat logo | pixels within dE10: 0.0% | nearest pixel dE 31.84 landscape-16x9.jpg count=3 | landscape-16x9.jpg: 2688 × 1512 px, 3 colors found in 24 ms | #79B9F5 share 46.8% near10 38.3% nearest 0.4 | #A49D7A share 31.7% near10 11.5% nearest 0.7 | #424B3E share 21.6% near10 5.2% nearest 0.9 landscape-16x9.jpg count=6 | landscape-16x9.jpg: 2688 × 1512 px, 6 colors found in 46 ms | #65A8F2 share 26.8% near10 32.9% nearest 0.5 | #94CFFA share 19.9% near10 32.1% nearest 0.3 | #8C8B67 share 19.2% near10 15.4% nearest 0.5 | #535232 share 12.5% near10 5.7% nearest 0.9 | #CCBC9E share 11.9% near10 5.7% nearest 1.2 | #304349 share 9.6% near10 4.4% nearest 1.1 landscape-16x9.jpg count=10 | landscape-16x9.jpg: 2688 × 1512 px, 10 colors found in 12 ms | #6EB3FC share 15.5% near10 35.8% nearest 0.1 | #9A9A70 share 14.2% near10 12.1% nearest 0.7 | #87CAFB share 11.7% near10 35.2% nearest 0.2 | #716A45 share 11.4% near10 11.6% nearest 0.0 | #5999E6 share 11.3% near10 25.3% nearest 0.0 | #D2BEA3 share 9.6% near10 5.4% nearest 0.0 | #A7D9FA share 8% near10 22.4% nearest 0.0 | #373C22 share 6.7% near10 2.2% nearest 1.6 | #637373 share 6.3% near10 4.1% nearest 0.4 | #213440 share 5.3% near10 3.7% nearest 0.7 landscape-3x2.jpg count=3 | landscape-3x2.jpg: 2048 × 1365 px, 3 colors found in 13 ms | #474147 share 43.6% near10 15.5% nearest 0.0 | #75ACDA share 34% near10 23.3% nearest 0.8 | #BBAD9E share 22.4% near10 6.5% nearest 0.7 landscape-3x2.jpg count=6 | landscape-3x2.jpg: 2048 × 1365 px, 6 colors found in 9 ms | #6AAADF share 24.5% near10 22.3% nearest 0.4 | #2F2E38 share 22.1% near10 13.3% nearest 0.3 | #676A7C share 20% near10 12.5% nearest 0.4 | #C5AD98 share 12.6% near10 6.4% nearest 0.4 | #B3D3DD share 11.3% near10 8.7% nearest 1.0 | #6F4A31 share 9.6% near10 6.0% nearest 0.7 landscape-3x2.jpg count=10 | landscape-3x2.jpg: 2048 × 1365 px, 10 colors found in 23 ms | #5FA6E0 share 18.1% near10 21.1% nearest 0.3 | #4B546A share 13.3% near10 14.8% nearest 0.0 | #22252F share 13.1% near10 10.8% nearest 0.6 | #83808D share 11.2% near10 7.2% nearest 0.4 | #93BFE1 share 10.7% near10 20.1% nearest 1.7 | #533F3C share 10.4% near10 10.9% nearest 0.3 | #C6AF9E share 9.9% near10 6.5% nearest 0.5 | #C3DAD7 share 7.1% near10 6.7% nearest 0.8 | #764D2B share 5% near10 4.9% nearest 0.5 | #D0913C share 1.3% near10 0.7% nearest 0.6 portrait-2x3.jpg count=3 | portrait-2x3.jpg: 3776 × 5632 px, 3 colors found in 22 ms | #AFC7DC share 59.2% near10 27.8% nearest 0.7 | #233C4B share 22.3% near10 11.3% nearest 0.0 | #AD1711 share 18.5% near10 8.1% nearest 0.2 portrait-2x3.jpg count=6 | portrait-2x3.jpg: 3776 × 5632 px, 6 colors found in 17 ms | #98C3EC share 38.7% near10 33.3% nearest 0.3 | #213B4B share 21.7% near10 11.4% nearest 0.3 | #D8CFBC share 20.6% near10 14.3% nearest 0.0 | #7D0506 share 10.1% near10 9.6% nearest 0.0 | #E0180D share 6.9% near10 5.6% nearest 0.1 | #FA856F share 1.9% near10 2.0% nearest 0.3 portrait-2x3.jpg count=10 | portrait-2x3.jpg: 3776 × 5632 px, 10 colors found in 22 ms | #A9CAED share 29.8% near10 31.3% nearest 0.2 | #DFD4C1 share 18.3% near10 14.3% nearest 0.0 | #0C2638 share 11.8% near10 10.0% nearest 0.2 | #3F5E74 share 8.8% near10 6.4% nearest 0.4 | #69B3F1 share 8.8% near10 21.9% nearest 0.0 | #930404 share 6.3% near10 9.8% nearest 0.1 | #E81C0F share 5.9% near10 5.3% nearest 0.2 | #6B070A share 4.9% near10 8.2% nearest 0.3 | #616146 share 3.4% near10 0.9% nearest 0.4 | #FC866F share 1.9% near10 2.0% nearest 0.3 == CROP TEST == pixels near #E0180D (dE<=10) at 320 px: 8536; box x 50-237, y 26-437 (scale 11.80) densest window 80x119 at 320 px starts x 128 y 264 crop count=3 | crop-red.png: 800 × 1190 px, 3 colors found in 24 ms | #D9140B share 42.6% near10 34.0% nearest 0.2 | #8C0C0A share 36.4% near10 42.9% nearest 0.0 | #40525E share 21.0% near10 5.1% nearest 0.6 crop count=6 | crop-red.png: 800 × 1190 px, 6 colors found in 23 ms | #7F0303 share 27.4% near10 37.1% nearest 0.0 | #B40201 share 25.9% near10 46.5% nearest 0.0 | #EF1608 share 20.6% near10 25.1% nearest 0.2 | #1A364B share 16.1% near10 9.8% nearest 0.0 | #C6B2A0 share 5.4% near10 0.5% nearest 1.7 | #FC7F61 share 4.6% near10 5.4% nearest 0.0 == CONTRAST (WCAG 2 formula, lib.cjs) == #E4572E on #FFFFFF 3.68 on #000000 5.70 #17BEBB on #FFFFFF 2.30 on #000000 9.12 #2E282A on #FFFFFF 14.45 on #000000 1.45 == WCAG 2.2 text read from https://www.w3.org/TR/WCAG22/ (W3C Recommendation 12 December 2024) on 2026-11-25 == The visual presentation of text and images of text has a contrast ratio of at least 4.5:1, except for the following: Large Text Large-scale text and images of large-scale text have a contrast ratio of at least 3:1; Incidental Text or images of text that are part of an inactive user interface component , that are pure decoration , that are not visible to anyone, or that are part of a picture that contains significant other visual content, have no contrast requirement. Logotypes Text that is part of a logo or brand name has no contrast requirement. Success Criterion 1.4.4 Resize Text Understanding Resize Text | How to Meet Resize Text (Level AA) Except for captions and images of text , text can be resized without assistive technology up to 200 percent without loss of content or functionality. Success Criterion 1.4.5 Images of Text Understanding Images of Text | How to Meet Images of Text ( #7F0303 vs #EF1608: CIEDE2000 = 23.06 #7F0303 vs #B40201: CIEDE2000 = 10.63 #B40201 vs #EF1608: CIEDE2000 = 12.80