Check gamut

Check whether a color fits the sRGB, Display P3 and Rec. 2020 gamuts, and get the closest sRGB fallback that keeps lightness and hue (CSS Color 4 gamut mapping in OKLCH).

post/api/v1/check-gamut

Request

  • Base URL: https://pickshade.com
  • URL: https://pickshade.com/api/v1/check-gamut
  • Auth: none declared

Request body

colorstring required

Any color: #ff5733, rgb(255 87 51), hsl(11 100% 60%), oklch(68% 0.21 34), a CSS or common name like navy, or a Tailwind class like sky-500

Response

Result

Changes

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