nicolaeciobanuu/huez

Change output to formatted string

Opened this issue · 0 comments

Issue Description

Current Output

The current output from huez is, depending on format type:

  • hex: string "#f2f2f2"
  • hsl: array [120, 20, 10, 0]
  • rgb: array [120, 50, 30]

Desired Output

The output needs to be formatted based on the color format:

  • hex: string "#f2f2f2"
  • hsl: string "hsl(120, 20%, 10%)"
  • rgb: string "rgb(120, 50, 30)"