Color Palette Generator
Generate harmonious color palettes from a single color
Complementary: Opposite hues on the color wheel
API Documentation
cURL Example
curl -X POST https://toolteeno.com/api/color-palette-generator \
-H "Content-Type: application/json" \
-d '{
"color": "#3B82F6",
"scheme": "complementary" // or "monochromatic", "analogous", "triadic", "split-complementary", "tetradic", "double-complementary", etc.
// "count": 5 // optional, for monochromatic/analogous
}'JavaScript Example
fetch('https://toolteeno.com/api/color-palette-generator', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
color: '#3B82F6',
scheme: 'triadic', // or "complementary", "monochromatic", etc.
count: 5 // for monochromatic/analogous
})
})
.then(res => res.json())
.then(data => console.log(data));Python Example
import requests
response = requests.post(
'https://toolteeno.com/api/color-palette-generator',
json={
'color': '#3B82F6',
'scheme': 'complementary'
}
)
print(response.json())Response Example
{
"success": true,
"scheme": "complementary",
"baseColor": {
"hex": "#3b82f6",
"rgb": { "r": 59, "g": 130, "b": 246 },
"hsl": { "h": 217, "s": 91, "l": 60 }
},
"palette": [
{
"hex": "#3b82f6",
"rgb": { "r": 59, "g": 130, "b": 246 },
"hsl": { "h": 217, "s": 91, "l": 60 }
},
{
"hex": "#f6ad3b",
"rgb": { "r": 246, "g": 173, "b": 59 },
"hsl": { "h": 37, "s": 91, "l": 60 }
}
]
}