Skip to content

toString return complete hex color #266

Open
@HeiShuXianSheng

Description

@HeiShuXianSheng

how about a feature:
new Color('red').toString({ format: 'hex' }); // #f00
add option to return #ff0000:
eg: new Color('red').toString({ format: 'hex', complete: true }); // #ff0000

Metadata

Metadata

Assignees

No one assigned

    Labels

    beginner friendlyTractable issues, good for first time contributorsenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions