New IDEs 2023.1 have less saturated colors compared to 2021.2 versions. Are there any settings that can correct this?
I kept reloading settings in the new CLion, thinking that the color scheme is messed up, finally realized that the new IDE renders less saturated colors, for the same color values.
In the image below, the top one is from CLion 2023.1, the background one is from CLion 2021.2. The difference is even more pronounced on rendered text. The new IDE renders it much duller.
The color sample tool in color chooser (the pipette) in both CLion versions, samples CLion 2023.1 rendered color from the image below as #BC1A7A while the rendered CLion 2021.2 color as #CD007D. This is quite a difference, the former has 86% saturation and 74% brightness, while the latter has 100% saturation and 80% brightness.
Is there a setting somewhere to change this color improvement "adjustment" done by the new IDEs?
Please sign in to leave a comment.
Sorry, I don't seem to be able to reproduce this. I compared 2023.1.1 and 2021.2.4 with #B80073 set in Semantic highlighting settings and the external color picker shows exactly the same color for both.
Could you please specify your OS name and version?
What tool did you use to get the exact values for the rendered colors? I see the difference in your screenshots, but cannot achieve the same so far, so any other hints would be appreciated.
I am running OSX Ventura 13.3.1, but if I remember right I had the same issue under Big Sur before upgrading to Ventura.
To get the rendered colours you need to:
1. open two iDEs,
2. open preferences to show the semantic highlighting in the IDE you want to measure.
3. in the other IDE open preferences and editor color scheme (any really) and click on the colour to get the colour selector.
4. In the colour selector click on the pipette and move it over the colour swatches for the semantic highlighting of the other IDE.
Here is the comparison of IC 2020.3 and latest release IC 2023.1.1, the difference is easily visible with the naked eye:
Thank you for clarifying. This appears to be related to Metal rendering - at least I see the same color in Digital Colour Meter app after disabling Metal in IDEA.
There's already an issue in our tracker for this, please upvote JBR-5625 and follow it for updates. Please refer to this article if you are not familiar with YouTrack.
You can disable Metal by adding -Dsun.java2d.metal=false to the file opened with main menu Help | Edit custom VM options (IDE restart needed) but please note that on M1 this might lead to performance degradation.
Thank you. I upvoted the issue. For me turning off Metal is more important because it solved the issue.
It may be a bit late, but thank you so much Ekaterina Valeeva for the info. provided.
The same happened to me between PyCharm community and professional versions. And I fixed disabling Metal.
Just wanted to share it if someone is facing a similar issue.
Thanks!
Ecs Keni instead of disabling Metal fully, starting from 2023.2 IDE version you can disable only the color matching that leads to less saturated colors. For that please add
-Dsun.java2d.metal.colorMatching=false
in the file opened via Help | Edit custom VM options and restart the IDE.Thank you, @Ekaterina Valeeva, for your solution suggestion. Unfortunately, adding
-Dsun.java2d.metal.colorMatching=false
and restarting my IDE did not resolve the issue. The color discrepancy persists in the editor pane but seems accurate in other areas like the 'Find in Files' panel.vikthorferreira
1) What Theme and Color Scheme do you use?
2) Do you have Mac?
3) Is it correct that you used the same theme and color scheme in versions 2021 and 2023, and you see the different results?
Hi, Nadia Tarashkevich, thanks for the reply! I think it might be related to my OS, I just tested it on another PC and it seems to be just fine. I'm sorry to take your time. Nonetheless, I will still provide answers to the questions for the record, as they may be useful in the future investigation.
1) I'm using a custom theme I made (vesperoso), but it occurs on the default dark theme as well.
2) I'm on Windows 11 Pro.
3) The 2021 portable version also has the same effect.