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