juxtopposed / realtimecolors

Real-time UI Colorpicking Tool. See your favorite colors of choice for a website in real time.
https://realtimecolors.com
Other
798 stars 31 forks source link

[Feature Request]: add colorhunt pallet format #109

Open krishsharma0413 opened 3 months ago

krishsharma0413 commented 3 months ago

Is there an existing issue for this?

Describe the problem

On the website realtimecolors.com/?colors=050315-fbfbfe-2f27ce-dedcff-433bff the colors field has dash-seperated-values. Having a feature which matches with the color palette field https://colorhunt.co/palette/6f4e37a67b5becb176fed8b1 where the colors are in the format of 6f4e37a67b5becb176fed8b1 without dashes or any other indicator.

Solution

Adding a feature which checks if it doesn't have dashes and then split the value into different hex values making the url look something like realtimecolors.com/?colors=6f4e37a67b5becb176fed8b1 as well.

Alternatives

The only tedious alternative being to manually add all the colors on the website.

Additional context

Colors on the website colorhunt.co usually follows the hex codes as background-text-primary-secondary.