Pigment.O

WARNING: The plugin breaks in some cases for now, please beware about that until it is fixed.

This is a Color Picker and Color Mixer that currently works in RGB and HSV color space.

Purposes:

  • Small and compact color picker UI.
  • Work in HSV color space.
  • Mix color for Tint, Tone and Shade.
  • Mix any 2 colors with RGB and HSV interpolation.
  • Correct color conversions.

Link:

Preview:

Notes:

  • Use RMB, Modifier Keys and Pen Vertical Tilt for more interaction.
  • I will be adding more color spaces in future versions (for now it blocks any non RGB color spaces interaction)
  • Auto update is a optional feature, read the manual for more info on how to adjust it.
  • If values change suddenly, it is just adjusting itself to the correct RGB value of the color you selected.

Any cool ideas or bugs just tell me about it.
Hope you guys like it.

6 Likes

I just gave it a try, but for some reason I can’t use the eraser mode when this plugin is active, it keeps resetting the mode after a split second.

Also, for me font size seems to be bigger, I can’t really read what any of the buttons say because the text is cut off, and the numeric fields don’t show the decimal places.

that is actually a funny bug, I did so many testes and I did not test that, sorry about it.
I will see to it now, thank you.

you don’t see stuff like this?


text size and button size are fixed so they work together and don’t inherent from a different source. that actually puzzles me.
Sure your just not compressing the UI like this?

it scales down to take up less space so it does not get in the way.

Size doesn’t change the text cutoff, it always looks like this for me:
pigment_o

Okay… I think I got the source of the problem there, it is my windows scaling.

I think I managed to fix the UI and the Eraser, it kinda felt like a massive strike of luck honestly. It is really working but I don’t even believe it yet. I thought it would be impossible to patch it.

For the UI it is looking like this on 3840x2160 with 100% and 150% scaling and at 1920x1080 with 100% scaling.


1 Like

I donno why I even did this with my bluetooth mouse…

Thank you for making this!!! :smiley:These work almost like the color sliders that used to be in Krita before they were removed in 4.1

Any cool ideas or bugs just tell me about it.

  • I notice that when I use it in linux (manjaro) the “color rectange box” is in greyscale. Changing the color by moving the icon in the box still works but the color doesn’t change. I don’t see this bug in windows.

  • For some reason the sliders aren’t that high when I use it without scaling on linux or windows. On windows they’re scaled correctly in hidpi mode. But I don’t like using that mode because the interface gets too big for me. Maybe it’s because I’m using a 1440p monitor?

  • Maybe implement HSL, HSI, and HSY color space modes one day? They used to be optional modes to use with the color sliders when Krita used to have them

I also suggest that you should edit the OP thread to better advertise the HSV slider feature. Like adding a pic of the HSV sliders along with the RGB sliders. Or maybe edit the title to say for example

Pigment.O (“HSV and RGB color sliders”)

This is an important feature for a lot of artists and they would be happy to know a new plugin exists for it!

2 Likes

If you need help in editing this first post let me know.

1 Like

Yes… that was such a sad event, I never got over it. That is actually why I made this! I learnt how to paint on THAT docker and later it was GONE DX crushed

By the looks of it Linux is then not interpreting the Alpha well on the style sheets. I checked the code and it looks correct on that spot. I would have to go around that somehow to solve that but sadley I do not have access to a Linux machine currently and to my experience Linux is not very good with displays overall. Not sure what to say there. I will try and re implement that again if I find a better way to assemble it.

I am not able to replicate the issue with the monitor resolution. I used that resolution on my computer and my laptop and it holds up on windows at least :\ when I updated it I checked for 4k display at 100% and at 150% scaling and then for 1920x1440 at 100% scaling, it should not be a problem. my laptop has that as a native resolution too and you can see it on the video I made.

maybe if I make a UI that locks values and has no internal scaling? but then all of it would be super massive, and swapping UI feels it would have to change the code or something too. I kinda did not want to do that. A thing that annoys me on the krita menus is they are always on the way and too big because they are all locked and with way too much empty space inside. That is why i wanted it to compress to fit anywhere.

I did want to implement more color spaces but I wanted to make 1 work properly first before tackling that. And it was a headache already since Qt is a pain in the ass with color conversions and before I noticed it ui, so I was literaly forced to use Python only because it does not hold up at all. I was searching for more modules too do that too because XYZ and LAB seem to be absent on Krita’s built in modules. LAB is really good and was one of my objectives to implement I just don’t know how…yet XD

I will edit the first post a bit, but I placed that image because that is the Foundation of all of it and what you get as soon as you open it, since the menus open and close everywhere to save space.

I get more and more the feeling Qt does not read very well in Linux if you dont lock it down, would you mind if I made you a custom UI to try out? Do you have custom fonts installed?