Skip to content

Colour values with different range #5

@emlyn

Description

@emlyn

What is the recommended way to get e.g. RGB values from a colour with a 0-255 range? Do I have to do something like [int(i * 255) for i in col.rgb]? It seems like a shortcut for this very common case would be useful.

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