Generates tetradic color schemes by finding four colors that form a rectangle on the color wheel, spaced 90° apart. Access via MCP in Cursor or Windsurf, or call GET /v1/color/tetradic with a base color. Returns complementary pairs with maximum contrast while maintaining visual harmony. Perfect for creating balanced palettes in design systems.
curl "https://tinyfn.io/v1/color/tetradic" \
-H "X-API-Key: YOUR_API_KEY"
const response = await fetch('https://tinyfn.io/v1/color/tetradic', {
headers: { 'X-API-Key': 'YOUR_API_KEY' }
});
const data = await response.json();
console.log(data);
import requests
response = requests.get('https://tinyfn.io/v1/color/tetradic',
headers={'X-API-Key': 'YOUR_API_KEY'})
data = response.json()
print(data)
Connect your AI agent (Claude, Cursor, Windsurf, etc.) to TinyFn's color tools:
{
"mcpServers": {
"tinyfn-color": {
"url": "https://tinyfn.io/mcp/color",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}
A tetradic scheme uses four colors positioned at 90° intervals on the color wheel, forming a rectangle. This creates two complementary pairs with high contrast but balanced visual weight.
Use the tetradic_colors tool in your AI editor with a hex color like #FF6B6B. It returns the three additional colors that complete the tetradic rectangle.
Accepts hex, RGB, HSL, and HSV input formats. Returns all four colors in multiple formats including hex, RGB, HSL, and color names when available.
Use tetradic for designs needing more color variety and two complementary pairs. Triadic offers simpler harmony with three evenly spaced colors at 120° intervals.
Yes, but check contrast ratios between the returned colors and backgrounds. Tetradic schemes provide good contrast naturally, but accessibility compliance requires specific luminance testing.
Get your free API key and start using Tetradic Colors in seconds.
Get Free API Key