POST

Convert RGB color to HSL components. Native implementation

/v1/color-rgb-hsl

Conversions · natif

Request → Response

Examples from schemas.json.

Requestapplication/json
POST /v1/color-rgb-hsl
Content-Type: application/json

{
  "r": 0,
  "g": 0,
  "b": 0
}
Responseapplication/json
HTTP/1.1 200 OK
Content-Type: application/json

// Endpoint-specific body after 402 settlement

Overview

Convert RGB color to HSL components. Native implementation.

Request schema

Body: JSON · application/json

FieldTypeDescription
rintegerrequiredmin: 0
gintegerrequiredmin: 0
bintegerrequiredmin: 0
IMPLEMENTATION
curl -X POST https://api.tools402.dev/v1/color-rgb-hsl \
  -H "Content-Type: application/json" \
  -d '{
  "r": 0,
  "g": 0,
  "b": 0
}'

402 payment flow omitted — see Integrations for settlement.