GET /colors/scheme/:hex
Generieren Sie eine harmonische Farbpalette aus jeder Ausgangs-Hex-Farbe. Unterstützt mehrere Farbtheorie-Modi: analog, komplementär, monochrom, Triade, Quadrat und mehr. Liefert eine konfigurierbare Anzahl von Farben (Standard 5), jeweils mit Hex-, RGB- und HSL-Werten. Nützlich für Design-Tools, Themen-Generatoren, Markenfarbenerkundung und jede kreative Anwendung, die verwandte Farben aus einer Basisfarbe ableiten muss.
hex
erforderlich
Hex color
mode
optional
Standard: analogic
Mode
count
optional
Standard: 5
Colors
| Name | Erforderlich | Standard | Beschreibung |
|---|---|---|---|
hex |
Ja | - | Hex color |
mode |
Nein | analogic | Mode |
count |
Nein | 5 | Colors |
curl "https://nordapi.ee/api/v1/colors/scheme/4287f5?mode=analogic"
curl "https://nordapi.ee/api/v1/colors/scheme/4287f5?mode=analogic"
curl "https://nordapi.ee/api/v1/colors/scheme/ff0000?mode=complement"
curl "https://nordapi.ee/api/v1/colors/scheme/2ecc71?mode=monochrome&count=8"
curl "https://nordapi.ee/api/v1/colors/scheme/9b59b6?mode=triad"
{
"data": {
"colors": [
{
"hex": "#3A80F0",
"name": "Blueberry",
"rgb": "rgb(58, 128, 240)"
},
{
"hex": "#3E4DF2",
"name": "Royal Blue",
"rgb": "rgb(62, 77, 242)"
},
{
"hex": "#6842F3",
"name": "Blueberry",
"rgb": "rgb(104, 66, 243)"
},
{
"hex": "#9F45F4",
"name": "Electric Violet",
"rgb": "rgb(159, 69, 244)"
},
{
"hex": "#D549F5",
"name": "Heliotrope",
"rgb": "rgb(213, 73, 245)"
}
],
"count": 5,
"mode": "analogic",
"seed": "#4287F5"
},
"success": true
}