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
91
1
lightBg: 91 3 48
2
lightBg: 91 3 47
3
lightBg: 91 3 45
4
lightBg: 91 3 44
5
lightBg: 91 3 41
6
lightBg: 91 3 38
7
lightBg: 91 3 35
8
lightBg: 91 3 30
9
lightBg: 91 3 24
10
lightBg: 91 3 17
11
lightBg: 91 3 10
12
lightBg: 91 0 99
bungee
211
1
lightBg: 211 3 47
2
lightBg: 211 3 46
3
lightBg: 211 3 44
4
lightBg: 211 3 42
5
lightBg: 211 3 39
6
lightBg: 211 3 35
7
lightBg: 211 3 30
8
lightBg: 211 3 24
9
lightBg: 211 3 17
10
lightBg: 211 0 99
11
lightBg: 211 0 99
12
lightBg: 211 0 99
cable
331
1
lightBg: 331 3 47
2
lightBg: 331 3 46
3
lightBg: 331 3 44
4
lightBg: 331 3 42
5
lightBg: 331 3 39
6
lightBg: 331 3 34
7
lightBg: 331 3 30
8
lightBg: 331 3 23
9
lightBg: 331 3 16
10
lightBg: 331 0 99
11
lightBg: 331 0 99
12
lightBg: 331 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
271
1
lightBg: 271 3 48
2
lightBg: 271 3 46
3
lightBg: 271 3 44
4
lightBg: 271 3 42
5
lightBg: 271 3 39
6
lightBg: 271 3 35
7
lightBg: 271 3 31
8
lightBg: 271 3 25
9
lightBg: 271 3 18
10
lightBg: 271 3 10
11
lightBg: 271 0 99
12
lightBg: 271 0 99
gray-warm
91
1
lightBg: 91 3 48
2
lightBg: 91 3 47
3
lightBg: 91 3 45
4
lightBg: 91 3 43
5
lightBg: 91 3 40
6
lightBg: 91 3 36
7
lightBg: 91 3 32
8
lightBg: 91 3 26
9
lightBg: 91 3 19
10
lightBg: 91 3 12
11
lightBg: 91 0 99
12
lightBg: 91 0 99
notification
54
1
lightBg: 54 3 48
2
lightBg: 54 3 47
3
lightBg: 54 3 46
4
lightBg: 54 3 44
5
lightBg: 54 3 42
6
lightBg: 54 3 39
7
lightBg: 54 3 36
8
lightBg: 54 3 31
9
lightBg: 54 3 26
10
lightBg: 54 3 20
11
lightBg: 54 3 13
12
lightBg: 54 0 99
warning
128
1
lightBg: 128 3 48
2
lightBg: 128 3 47
3
lightBg: 128 3 45
4
lightBg: 128 3 43
5
lightBg: 128 3 40
6
lightBg: 128 3 37
7
lightBg: 128 3 33
8
lightBg: 128 3 28
9
lightBg: 128 3 22
10
lightBg: 128 3 15
11
lightBg: 128 0 99
12
lightBg: 128 0 99