Skip to content

Equivalent of tinyColor's toRgb #28

@akshaysmurthy

Description

@akshaysmurthy

I know chroma has a to_rgb method, but it's actually a port of tinyColor's toRgbString.

I am interested in adding a method to this lib which will output a hash eg., {r: 255, g: 255, b: 255}.

This can be very useful to do some arithmetic on the r, g and b values individually.

Is this something that makes sense to be added to this lib?

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