Main Menu

Question about colors

Started by Liviu Lalescu, August 22, 2025, 01:59:26 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Liviu Lalescu

Dear forum,

The new constraint (teacher(s)/students (set) occupy max sets of time slots from selection) has the first 10 colors decided by me, so they are very distinctive, and the next are random.

The first 3 colors are dark green, dark red, and dark blue (the first 10 colors are the dark variants, I chose them so that they are not too flashy). But green and red might be mistaken for the usual colors in preferred times or not available times constraints.

So, do you think I should change the first 3 colors? I was maybe thinking of my country's flag: blue, yellow, and red, but yellow is not very distinguishable and it might be too flashy. Or maybe start with the first two colors dark blue and dark red, and the third dark green?

I wait for your suggestions. @YOUSSEF HOUIET , please see this topic and let me know your opinion, because it was you who suggested enabling the colors here.

YOUSSEF HOUIET

Hi liviu

from the comments on Facebook I noticed that users were confused because of the dark green and dark red colors, which are usually associated with constraints like teacher not available times.

I agree with your suggestion: the first three colors should be clearly different from the ones typically used for such constraints.


Volker Dirr

maybe make them select able, so everybody can modify them if they are "bad".

Liviu Lalescu

Yes, Youssef, I saw your post on Facebook yesterday, where you explained that dark green and dark red are not available/not available, or something like that, and this was the reason for my doubts.

Volker, is it difficult to let the user select colors in Qt? Do they have a standard dialog?

For everybody, including Youssef and Volker: please see https://www.w3schools.com/cssref/css_colors.php and make suggestions for the first 3 or even 10 colors. This in case we cannot make the colors customizable.

Volker Dirr


Volker Dirr

For the settings I load/save colors like this:
...settings.value("tableHeadTextColor", QColor(Qt::black)).value<QColor>();

Liviu Lalescu

Hmm... Volker, thank you, I saw that. But I think I prefer to just use some predefined colors, which I invite you and the other FET collaborators to suggest here, from my above given link of CSS colors, or you can suggest the color exact number. I need the first 3 colors and optionally the next 7.

I'll think of your proposal, Volker, and keep it on my mind. I have some reasons not to add custom colors for this: 1) keep things standard; 2) simplicity; 3) it is kind of weird to choose only here the colors and in the rest they are standard; 4) I again need to ask the translators to translate, and I already abused their kindness too much lately.


YOUSSEF HOUIET

I would suggest, for example, the following colors, which are far from dark red/green:

MediumBlue #0000CD Yellow #FFFF00 Orchid #DA70D6

Liviu Lalescu

Thank you, Youssef! I had a look at those colors. However, after thinking and looking, how about using the "dark" ones, since they seem better for the eye, not too flashy?

I like DarkBlue #00008B and DarkOrange #FF8C00. Or maybe darkorange and DarkCyan #008B8B and DarkOliveGreen #556B2F?

YOUSSEF HOUIET



Great suggestion. As for the 3rd color, I recommend DarkCyan.



Liviu Lalescu

#10
So, do you recommend 1-darkblue 2-darkorange 3-darkcyan? If you have other order suggestion or other colors, please let me know. What about 3-darkolivegreen, which maybe contrasts better with 1?

If you confirm, I will think and maybe put a snapshot for you and other users.

Qt 6.9.2 is scheduled for Monday, so maybe on Tuesday or later I might release a new FET version.

I will choose colors 4-10 as other dark colors.

YOUSSEF HOUIET

Ok, you can use darkolivegreen as 3rd color.

Liviu Lalescu

My mother told me that your darkcyan is better for 3, and we chose together the 4-10 colors. I will now put a snapshot, in about 30 minutes, so you can check.

Thank you!

Liviu Lalescu

I just put a snapshot. You can see the Snapshots board here on the forum for the usual download link.

The colors from 1 to 9 are chosen by us, >=10 are random. Please check the colors from 1 to say 12.

Thank you!

YOUSSEF HOUIET


Thanks to your dear mother
May she always stay healthy and happy.