Skip to content

Color Convert API

POST https://api.findutils.com/api/tools/color-convert/execute

Convert between color formats: hex, rgb, hsl, hsv.

Request body

application/json
  • color

    string required

    Color value (e.g. "#ff00aa", "rgb(255,0,170)", "hsl(330,100%,50%)").

  • from

    string required

    Source format. One of hex · rgb · hsl · hsv.

  • to

    string required

    Target format. One of hex · rgb · hsl · hsv.

Example arguments

Verified
{
  "color": "#ff0000",
  "from": "hex",
  "to": "rgb"
}