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
305
1
lightBg: 305 3 47
2
lightBg: 305 3 46
3
lightBg: 305 3 44
4
lightBg: 305 3 41
5
lightBg: 305 3 38
6
lightBg: 305 3 34
7
lightBg: 305 3 30
8
lightBg: 305 3 24
9
lightBg: 305 3 18
10
lightBg: 305 3 13
11
lightBg: 305 0 99
12
lightBg: 305 0 99
bungee
65
1
lightBg: 65 3 49
2
lightBg: 65 3 48
3
lightBg: 65 3 48
4
lightBg: 65 3 47
5
lightBg: 65 3 46
6
lightBg: 65 3 45
7
lightBg: 65 3 43
8
lightBg: 65 3 42
9
lightBg: 65 3 40
10
lightBg: 65 3 38
11
lightBg: 65 3 36
12
lightBg: 65 3 13
cable
185
1
lightBg: 185 3 48
2
lightBg: 185 3 47
3
lightBg: 185 3 46
4
lightBg: 185 3 44
5
lightBg: 185 3 42
6
lightBg: 185 3 40
7
lightBg: 185 3 37
8
lightBg: 185 3 34
9
lightBg: 185 3 30
10
lightBg: 185 3 27
11
lightBg: 185 3 24
12
lightBg: 185 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
305
1
lightBg: 305 3 48
2
lightBg: 305 3 47
3
lightBg: 305 3 45
4
lightBg: 305 3 42
5
lightBg: 305 3 39
6
lightBg: 305 3 35
7
lightBg: 305 3 31
8
lightBg: 305 3 25
9
lightBg: 305 3 18
10
lightBg: 305 3 10
11
lightBg: 305 0 99
12
lightBg: 305 0 99
gray-warm
125
1
lightBg: 125 3 48
2
lightBg: 125 3 47
3
lightBg: 125 3 45
4
lightBg: 125 3 43
5
lightBg: 125 3 40
6
lightBg: 125 3 36
7
lightBg: 125 3 32
8
lightBg: 125 3 26
9
lightBg: 125 3 19
10
lightBg: 125 3 11
11
lightBg: 125 0 99
12
lightBg: 125 0 99
notification
268
1
lightBg: 268 3 47
2
lightBg: 268 3 45
3
lightBg: 268 3 42
4
lightBg: 268 3 39
5
lightBg: 268 3 35
6
lightBg: 268 3 30
7
lightBg: 268 3 24
8
lightBg: 268 3 17
9
lightBg: 268 0 99
10
lightBg: 268 0 99
11
lightBg: 268 0 99
12
lightBg: 268 0 99
warning
342
1
lightBg: 342 3 47
2
lightBg: 342 3 46
3
lightBg: 342 3 43
4
lightBg: 342 3 41
5
lightBg: 342 3 37
6
lightBg: 342 3 32
7
lightBg: 342 3 27
8
lightBg: 342 3 21
9
lightBg: 342 3 14
10
lightBg: 342 0 99
11
lightBg: 342 0 99
12
lightBg: 342 0 99