
Unbearable Mr. Bear
Sometimes, all I need is a hug...
- May 9, 2025
- 284
So, there's something that has been something I play with to take my head off the gutter: Coloraide. Coloraide is a python library that is basically color theory central. It can use a shit ton of colorspaces, blend colors with a multitude of methods, create gradients and spectra based on many different rules, it's amazing and activates my monke neuron very much.
But it is a library, so you need to learn python, and that's what I did. Now, I'm no coder, but I really wanted to use the tool so it pushed me forward. Good news is, the website has a lot of clear documentation, with interactive examples, AND a playground, so you can try Coloraide online, without installing anything! https://facelessuser.github.io/coloraide/playground/
I'm posting this here because it could be useful to artists. I'm more of a music person, but I just adore messing around with it, so if you feel like you want something related to color theory, like palettes, gradients, or just visualizing colors, I can code for you. I'll do it happily, I love messing around with the tool, and that would make me feel useful!
Here's an example of what I did in 10 minutes: A palette generator (Mostly for pixel art)
If you paste the code on the "Playground" page, it generates an 8 color palette including black and white, using color delta to make sure the colors are different enough. pal_lim is the size of the final palette, if you wanna change that.
Well there you have it, thanks for reading and I look forward for requests!
But it is a library, so you need to learn python, and that's what I did. Now, I'm no coder, but I really wanted to use the tool so it pushed me forward. Good news is, the website has a lot of clear documentation, with interactive examples, AND a playground, so you can try Coloraide online, without installing anything! https://facelessuser.github.io/coloraide/playground/
I'm posting this here because it could be useful to artists. I'm more of a music person, but I just adore messing around with it, so if you feel like you want something related to color theory, like palettes, gradients, or just visualizing colors, I can code for you. I'll do it happily, I love messing around with the tool, and that would make me feel useful!
Here's an example of what I did in 10 minutes: A palette generator (Mostly for pixel art)
Python:
pal_final = [Color("#000"), Color("#FFF")]
pal_lim = 16
iter = 10000
init_tresh = 1000
tresh = init_tresh
while len(pal_final) < pal_lim and iter >= 0:
col_ng = False
new_col = Color.random("srgb")
for pal_col in pal_final:
iter -= 1
if new_col.delta_e(pal_col) < tresh:
col_ng = True
tresh *= 0.99
if col_ng:
break
if not col_ng:
tresh = init_tresh
pal_final.append(new_col)
iter
len(pal_final)
pal_final
If you paste the code on the "Playground" page, it generates an 8 color palette including black and white, using color delta to make sure the colors are different enough. pal_lim is the size of the final palette, if you wanna change that.
Well there you have it, thanks for reading and I look forward for requests!
Last edited: