color

Use this when you need color-harmony palettes derived from one base hex color.

Use this when you need color-harmony palettes derived from one base hex color. Rotates hue/lightness in HSL to build complementary (+180 degrees), analogous (-30/+30), triadic (+120/+240), split-complementary (+150/+210), and monochromatic (lightness steps) swatch sets, each as an array of hex strings. Accepts a 6-digit hex with or without a leading '#' (case-insensitive). Deterministic: same input, same output. Example: {color:'#e11d48'} -> base '#e11d48', complementary ['#e11d48','#1de1b6'], monochromatic ['#590c1d','#9d1432','#e11d48','#eb607e','#f3a4b5']. Note: grayscale inputs (e.g. '#000000') have no defined hue, so the hue-rotated sets are all identical and only the monochromatic lightness steps differ.

post/v1/color_palette

Request

  • Base URL: https://api.clean.tools
  • URL: https://api.clean.tools/v1/color_palette
  • Auth: none declared

Request body

colorstring required

A 6-digit hex color, with or without a leading '#', e.g. "#e11d48" or "e11d48". Case-insensitive.

Response

Structured tool result.

toolstring

Changes

No recorded changes to this operation across all 1 revision of this API.