-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Color::INDIGO is not indigo #1193
Description
Bevy version
Bevy 4.0.0
Operating system & version
Ubuntu 20.04
What you did
Was looking at the breakout example where a ClearColor resource was added. I noticed the Color struct has some constant values to choose from, including the value INDIGO. When using that value on a simple default app, the color generated is much more purple than indigo. A simple reproducible example:
use bevy::prelude::*;
fn main() {
App::build()
.add_plugins(DefaultPlugins)
.add_resource(ClearColor(Color::INDIGO))
.run();
}What you expected to happen
The background color to be indigo.
What actually happened
The background color was purple.
Additional information
My initial search of a hex value for indigo led to #4B0082, which appears to be the programming for Color::INDIGO. Color pickers seem to show that as more of a purple. However I don't want this issue to get heated over the definition of indigo, so do with this info what you will.
Below is what I see when using Color::INDIGO:
From a quick Google search, indigo more closely resembles the color below.

