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
2
1
lightBg: 2 3 47
2
lightBg: 2 3 46
3
lightBg: 2 3 43
4
lightBg: 2 3 40
5
lightBg: 2 3 37
6
lightBg: 2 3 32
7
lightBg: 2 3 27
8
lightBg: 2 3 20
9
lightBg: 2 3 13
10
lightBg: 2 0 99
11
lightBg: 2 0 99
12
lightBg: 2 0 99
bungee
32
1
lightBg: 32 3 48
2
lightBg: 32 3 47
3
lightBg: 32 3 46
4
lightBg: 32 3 44
5
lightBg: 32 3 42
6
lightBg: 32 3 39
7
lightBg: 32 3 36
8
lightBg: 32 3 32
9
lightBg: 32 3 27
10
lightBg: 32 3 22
11
lightBg: 32 3 17
12
lightBg: 32 0 99
cable
182
1
lightBg: 182 3 48
2
lightBg: 182 3 48
3
lightBg: 182 3 46
4
lightBg: 182 3 45
5
lightBg: 182 3 43
6
lightBg: 182 3 41
7
lightBg: 182 3 39
8
lightBg: 182 3 36
9
lightBg: 182 3 33
10
lightBg: 182 3 31
11
lightBg: 182 3 29
12
lightBg: 182 0 99
dream
212
1
lightBg: 212 3 47
2
lightBg: 212 3 46
3
lightBg: 212 3 43
4
lightBg: 212 3 41
5
lightBg: 212 3 38
6
lightBg: 212 3 33
7
lightBg: 212 3 28
8
lightBg: 212 3 22
9
lightBg: 212 3 14
10
lightBg: 212 0 99
11
lightBg: 212 0 99
12
lightBg: 212 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
182
1
lightBg: 182 3 48
2
lightBg: 182 3 47
3
lightBg: 182 3 45
4
lightBg: 182 3 43
5
lightBg: 182 3 40
6
lightBg: 182 3 36
7
lightBg: 182 3 32
8
lightBg: 182 3 26
9
lightBg: 182 3 19
10
lightBg: 182 3 11
11
lightBg: 182 0 99
12
lightBg: 182 0 99
gray-warm
2
1
lightBg: 2 3 48
2
lightBg: 2 3 46
3
lightBg: 2 3 45
4
lightBg: 2 3 42
5
lightBg: 2 3 39
6
lightBg: 2 3 35
7
lightBg: 2 3 31
8
lightBg: 2 3 25
9
lightBg: 2 3 18
10
lightBg: 2 3 10
11
lightBg: 2 0 99
12
lightBg: 2 0 99
notification
325
1
lightBg: 325 3 47
2
lightBg: 325 3 46
3
lightBg: 325 3 43
4
lightBg: 325 3 41
5
lightBg: 325 3 37
6
lightBg: 325 3 33
7
lightBg: 325 3 28
8
lightBg: 325 3 22
9
lightBg: 325 3 16
10
lightBg: 325 3 11
11
lightBg: 325 0 99
12
lightBg: 325 0 99
warning
39
1
lightBg: 39 3 48
2
lightBg: 39 3 48
3
lightBg: 39 3 46
4
lightBg: 39 3 45
5
lightBg: 39 3 43
6
lightBg: 39 3 40
7
lightBg: 39 3 38
8
lightBg: 39 3 35
9
lightBg: 39 3 31
10
lightBg: 39 3 27
11
lightBg: 39 3 23
12
lightBg: 39 0 99