LIFX Color API

The Color API from LIFX — 1 operation(s) for color.

Operations 1

GET /color Validate Color #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/lifx:lifx-color-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

lifx-color-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: api-settings Color API
  version: '1'
servers:
- url: https://api.lifx.com/v1
security:
- sec0: []
tags:
- name: Color
paths:
  /color:
    get:
      summary: Validate Color
      description: Validate a color string
      operationId: validate-color
      parameters:
      - name: string
        in: query
        description: Color string you'd like to validate
        required: true
        schema:
          type: string
      responses:
        '200':
          description: '200'
          content:
            application/json:
              examples:
                Result:
                  value: "// `red` was passed as `string`\n{\n\t\"hue\": 0,\n  \"saturation\": 1.0,\n  \"brightness\": null,\n  \"kelvin\": null\n}"
              schema:
                type: object
                properties:
                  hue:
                    type: integer
                    example: 0
                    default: 0
                  saturation:
                    type: integer
                    example: 1
                    default: 0
                  brightness: {}
                  kelvin: {}
        '422':
          description: '422'
          content:
            application/json:
              examples:
                Result:
                  value: "// This is returned if the color string is not valid\n// Example: \"saturation:2\"\n{\n\t\"error\": \"saturation is outside of range: 0–1\"\n}"
              schema:
                type: object
                properties:
                  error:
                    type: string
                    example: 'saturation is outside of range: 0–1'
      deprecated: false
      tags:
      - Color
components:
  securitySchemes:
    sec0:
      type: apiKey
      name: Authorization
      in: header
      x-bearer-format: bearer
x-readme-fauxas: true
x-provenance:
  method: searched
  source: https://api.developer.lifx.com/reference
  harvested: '2026-10-28'
  tool: harvest-readme-openapi.py
  note: Assembled verbatim from the OpenAPI definition ReadMe embeds in each operation page of the provider's developer portal; paths and components merged by API title, nothing authored.
  assembled_from:
  - https://api.developer.lifx.com/reference/activate-scene.md
  - https://api.developer.lifx.com/reference/breathe-effect.md
  - https://api.developer.lifx.com/reference/clean.md
  - https://api.developer.lifx.com/reference/clouds-effect-copy.md
  - https://api.developer.lifx.com/reference/cycle.md
  - https://api.developer.lifx.com/reference/effects-off.md
  - https://api.developer.lifx.com/reference/flame-effect-copy.md
  - https://api.developer.lifx.com/reference/flame-effect.md
  - https://api.developer.lifx.com/reference/list-lights.md
  - https://api.developer.lifx.com/reference/list-scenes.md
  - https://api.developer.lifx.com/reference/morph-effect.md
  - https://api.developer.lifx.com/reference/move-effect.md
  - https://api.developer.lifx.com/reference/pulse-effect.md
  - https://api.developer.lifx.com/reference/set-state.md
  - https://api.developer.lifx.com/reference/set-states.md
  - https://api.developer.lifx.com/reference/state-delta.md
  - https://api.developer.lifx.com/reference/sunrise-effect-copy.md
  - https://api.developer.lifx.com/reference/toggle-power.md
  - https://api.developer.lifx.com/reference/validate-color.md
  merge:
    pages: 19
    deduped: 18
    conflicts_kept_first: 0