Skip to content

Color("lime").rgb returns (0.0, 1.0, 3.3306690738754696e-16) instead of (0.0, 1.0, 0.0) #61

@vickipedia

Description

@vickipedia

Trying to generate a Colour object using 0, 255, 0 RGB value and read back the rgb tuple. Getting a exponential negative value in place of blue.

Also tried,

Color("lime").rgb
Color("#00FF00").rgb
Color(rgb=(0,1,0)).rgb

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions