Colorize demo
Colorize is a way to manage UI colors in a design system. It utilizes a logarithmic scale to generate layered colors. It supports light and dark modes and recommends if a specific color can be used for text. The Python library generates CSS code (and is used as an API to this demo stand), while a lightweight JavaScript library can be used to generate colors on the fly.
Dark
Text
213×4
arrow
268
1
lightBg: 268 3 47
2
lightBg: 268 3 46
3
lightBg: 268 3 43
4
lightBg: 268 3 41
5
lightBg: 268 3 37
6
lightBg: 268 3 32
7
lightBg: 268 3 28
8
lightBg: 268 3 20
9
lightBg: 268 3 12
10
lightBg: 268 0 99
11
lightBg: 268 0 99
12
lightBg: 268 0 99
bungee
88
1
lightBg: 88 3 48
2
lightBg: 88 3 47
3
lightBg: 88 3 46
4
lightBg: 88 3 44
5
lightBg: 88 3 42
6
lightBg: 88 3 39
7
lightBg: 88 3 36
8
lightBg: 88 3 32
9
lightBg: 88 3 27
10
lightBg: 88 3 21
11
lightBg: 88 3 14
12
lightBg: 88 0 99
gray
0
1
lightBg: 0 3 48
2
lightBg: 0 3 46
3
lightBg: 0 3 44
4
lightBg: 0 3 42
5
lightBg: 0 3 40
6
lightBg: 0 3 35
7
lightBg: 0 3 31
8
lightBg: 0 3 26
9
lightBg: 0 3 19
10
lightBg: 0 3 11
11
lightBg: 0 0 99
12
lightBg: 0 0 99
gray-cool
268
1
lightBg: 268 3 48
2
lightBg: 268 3 46
3
lightBg: 268 3 44
4
lightBg: 268 3 42
5
lightBg: 268 3 39
6
lightBg: 268 3 35
7
lightBg: 268 3 31
8
lightBg: 268 3 25
9
lightBg: 268 3 18
10
lightBg: 268 3 10
11
lightBg: 268 0 99
12
lightBg: 268 0 99
gray-warm
88
1
lightBg: 88 3 48
2
lightBg: 88 3 47
3
lightBg: 88 3 45
4
lightBg: 88 3 43
5
lightBg: 88 3 40
6
lightBg: 88 3 36
7
lightBg: 88 3 32
8
lightBg: 88 3 26
9
lightBg: 88 3 19
10
lightBg: 88 3 12
11
lightBg: 88 0 99
12
lightBg: 88 0 99
notification
231
1
lightBg: 231 3 47
2
lightBg: 231 3 46
3
lightBg: 231 3 43
4
lightBg: 231 3 40
5
lightBg: 231 3 37
6
lightBg: 231 3 32
7
lightBg: 231 3 26
8
lightBg: 231 3 19
9
lightBg: 231 3 10
10
lightBg: 231 0 99
11
lightBg: 231 0 99
12
lightBg: 231 0 99
warning
305
1
lightBg: 305 3 47
2
lightBg: 305 3 46
3
lightBg: 305 3 44
4
lightBg: 305 3 42
5
lightBg: 305 3 39
6
lightBg: 305 3 35
7
lightBg: 305 3 30
8
lightBg: 305 3 24
9
lightBg: 305 3 17
10
lightBg: 305 3 10
11
lightBg: 305 0 99
12
lightBg: 305 0 99