billythegoat356 / pystyle

The source of my Python library, pystyle.
https://pypi.org/project/pystyle/
Eclipse Public License 2.0
202 stars 13 forks source link

more colors? #20

Open ambr0sial opened 1 year ago

ambr0sial commented 1 year ago

okay so i have two questions actually

does an available colours list exists?

can you add more colors in the future, like purple and so?

billythegoat356 commented 1 year ago

Purple exist! If you look in the code of the module you can see all the already made colors. If you want more colors you can create them with StaticMIX / DynamicMIX ;)

ambr0sial commented 1 year ago

Hello again, and thank you for your answer!

Is it possible to create a color with RGB? I think I need to use StaticRGB(), but I don't know how to use it, like for example I want to have a purplish colour (I know purple already exists, but I want to create a specific purple), I did that: StaticRGB(149,133,255) but it just shows up as white. What can I do?

billythegoat356 commented 1 year ago

Hey, that's weird. StaticRGB works very well on my PC, I don't understand why it doesn't on yours. I'll look into it.

ambr0sial commented 1 year ago

Yeah I don't know why it does that. By the way, I tried updating PyStyle just in case, but it's already at 2.0, which must be the latest version I guess?