Skip to content

Documentation about colors_returned=1 says you only get one, I expected a string #56

@Madd0g

Description

@Madd0g

According to the docs, I expected a string out of this when passing colors_returned: 1

        return Please.make_color({
            base_color: color,
            colors_returned: 1,
            format: 'hex'
        });

I'm getting an array with one color in it

The docs say:

If you set it to 1, you'll just get the one color! It makes a sort of sense if you think about it.

Maybe I'm overthinking it? :)

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