Skip to content

Color::INDIGO is not indigo #1193

@SeanMcLoughlin

Description

@SeanMcLoughlin

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:

Screenshot from 2021-01-02 12-36-44

From a quick Google search, indigo more closely resembles the color below.
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-RenderingDrawing game state to the screenC-BugAn unexpected or incorrect behavior

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions