Godot Version
Godot Engine v4.3.stable.official[77dcf97d8]
Question
I have a color rect in Godot I have set to be RED255 GREEN255 BLUE0. Instead, it gives me RED255 GREEN254 BLU84. Does anyone know why this might be happening or can help me fix it?
Huh, Weird lol. Couple things it might be. Not sure though tbh.
Try using the hex input directly. I notice in the color picker the hex field shows #ffff00, but your B value slider appears to show a non-zero value. Try typing “#ffff00” directly in the hex field and pressing Enter to ensure precise color values.
Check your color space settings. Godot might be using a different color space or applying some automatic color correction. Look in your project settings for any color management options that might be affecting this.
Color compression. If this is for a texture, check if you have any texture compression settings enabled that might be altering the colors.
Monitor calibration. While less likely, your monitor settings or graphics driver could be applying color adjustments.
If none of that works, Try closing godot and reopening it lol.
1 Like
None of these have worked, unfortunately. But I really appreciate it! Is yellow working on your Godot?
I’m actually colorblind, So you’ll have to tell me lol.
1 Like
That is 224, 217, 71 according to digital color meter (default on macs, just type it into the searchbar), so I guess this isn’t just on my end…
According to digital color meter even this page #ffff00 Color Hex Yellow1 #FF0 is actually 255, 255, 84

So possibly something our Macs are doing?
3 Likes
I think you are 100% right. That’s weird as hell.
If Godot is actually storing 255, 255, 0
then I personally wouldn’t worry about it. As even if you needed to test colours for gameplay reasons you still can, even if they are for some reason being rendered subtly different.
For reference I can’t tell any different between your picture, @noaht5.1999 picture or the page I linked, even though digital meter gives different values for all three.
1 Like
Yeah I cant tell for sure but it seems like a sifting issue, IE some things in Godot don’t update their UI components until the UI is jiggled (“sifted”).
If the Actual color matches the Value you inputted, Don’t worry about it. Or submit for a code update directly to Godot.
1 Like
I can tell the difference, but you guys are right not to worry about it. Thanks y’all!