Tools · Light quality
LED Spectrum Mixer
Mix five example channels, or build your own source combination. Explore colour, tint and colour rendering.
Example spectra only · not LEDYI product measurements or calibrated driver settings.
Need spectra for a real LEDYI configuration?
Tell us the model, CCT, output state and test conditions you need.
For AI agents: instructions and calculation APIs
Read the tool instructions in Markdown and the request/response schemas in OpenAPI. These public calculation APIs run the same models as the web and offline calculators. No account, API key or Turnstile is required.
LED Spectrum Mixer
POST /api/tools/v1/spectrum-mixer
Content-Type: application/jsonMix the seven example source spectra exposed by this tool: warm white, cool white, red, green, blue, amber and violet. Weights are relative 0–100 inputs; omitted sources contribute zero. The CIE LED-B1/B5 arrays and Gaussian colour sources are educational examples, not LEDYI product measurements or calibrated dimmer settings.
spectrum-mixer
LED Spectrum Mixer
POST sources as a strict object containing any subset of ww, cw, r, g, b, amber and violet with finite weights from 0 to 100. The reference example uses ww=100, cw=75.98299480153439 and g=5.413065218193752. The response returns xy, CCT, Duv, Ra, R9, all R1–R14 scores, selected source definitions and stable warning codes.
{
"sources": {
"ww": 100,
"cw": 75.98299480153439,
"g": 5.413065218193752
}
}Open links.tool for the interactive mixer or links.markdown for the full source and method notes. Use the UI to save A, inspect the CIE chart, view R1–R14 bars and export CSV. The API does not persist calculations, call an AI model, send an inquiry or verify a physical instrument measurement.
Request limits and errors
Send uncompressed application/json with strict types and no query parameters. Indoor lighting bodies are limited to 16 KiB; driver-match bodies to 16 KiB; battery bodies to 16 KiB; voltage bodies to 16 KiB; resistor bodies to 16 KiB; spectrum bodies to 16 KiB; DMX bodies to 1024 KiB and 1000 fixtures; pixel bodies to 64 KiB, 64 run rows, 128 outputs and 2000000 channels. DALI bodies are limited to 64 KiB, 24 rows and 512 devices. Illuminance bodies are limited to 16 KiB and 400 planned points. Photometry bodies are limited to 1024 KiB with up to 4 files and 16 by 721 query directions per file. Lighting-cost bodies are limited to 64 KiB with up to 20 groups in each scenario. Body reading expires after 5 seconds. Complete success JSON is bounded to 4 MiB. GET/HEAD return 405; OPTIONS returns 204. Source responses are no-store. Anonymous browser CORS permits POST/OPTIONS and Content-Type with credentials omitted.
Tool POST requests and ordinary page requests share 120 requests per 60 seconds per IP/Cloudflare location; mitigation lasts 60 seconds. Heavy tool use can temporarily block pages from the same source. This is not an independent or globally exact API quota. Inquiry/search use their existing separate rule. Tool POST requests do not inherit the company-page or verified-bot exemption.
Cloudflare can return 403/429/5xx before the application, sometimes as HTML without CORS or Retry-After. Check HTTP status and Content-Type before parsing JSON. A browser may see only a network error. Do not present an error or an older result as a successful new calculation.