- commit
- 8e031d0e232be824514aa64a3c6ff625d2446b9b
- parent
- 046089ed07d227eac68c150c8c658f34c8ff2a94
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2022-08-06 07:08
changes examples - add grey - reduce back to 4 - RGB order
Diffstat
| M | examples/examples.js | 5 | ++--- |
| M | examples/screenshot.png | 0 |
2 files changed, 2 insertions, 3 deletions
diff --git a/examples/examples.js b/examples/examples.js
@@ -4,11 +4,10 @@ import * as apca from '../apca.js'; 4 4 const LEVEL_LABELS = ['×', 'A', 'AA', 'AAA']; 5 5 6 6 const COLORS = [ -1 7 ['#888888', '#000000', '#ffffff'], -1 8 ['#ff4422', '#000000', '#ffffff'], 7 9 ['#44bb44', '#000000', '#ffffff'], 8 10 ['#9999ff', '#000000', '#ffffff'],9 -1 ['#dd44ee', '#000000', '#ffffff'],10 -1 ['#ff4422', '#000000', '#ffffff'],11 -1 ['#11bbff', '#220044', '#440022'],12 11 ]; 13 12 14 13 var parseColor = function(c) {