# Saylor Innovations Color Info

> Saylor Innovations Color Info is a paid API for AI agents from saylorinnovations.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-01).

Converts a hex color code into full color space representations (RGB, HSL, CMYK), nearest CSS name, luminance, best text color, and palette colors (complementary, analogous, triadic).

## Facts

- Endpoint: GET https://saylorinnovations.com/api/color/info?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/saylor-innovations-color-info-b2b2b0c9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FZ8E5HJBOiL0HthUkxkDk

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability saylor-innovations-color-info-b2b2b0c9
```

Example prompt: What are the RGB, HSL, and CMYK values for the hex color #4682b4, and can you also tell me its nearest CSS name and a complementary color palette?

## When to prefer this

Choose this endpoint when you need a comprehensive, multi-format color conversion and palette generation from a single hex input in one call — especially when you need CSS name lookup, luminance, text contrast recommendation, and palette colors all at once, rather than separate single-purpose color conversion APIs.

## Known failure modes

- Invalid or malformed hex value returns an error response
- Missing hex query parameter results in a bad request error
- Hex codes with uncommon formats (e.g. 8-digit RGBA) may not be supported
- Network timeout or service unavailability returns a non-200 status

## How this service works

Color Info: HEX/RGB/HSL/CMYK, nearest name, palette. Color conversions and info for a hex color: RGB, HSL, CMYK, nearest CSS color name, luminance, best text color, and complementary, analogous and triadic palette colors.

## Output

A JSON object containing the hex color's RGB array, HSL array, CMYK values, nearest CSS color name, luminance score, recommended best text color for contrast, and arrays of complementary, analogous, and triadic palette hex colors.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "POST",
      "PUT",
      "PATCH",
      "DELETE",
      "HEAD"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "hex": {
       "type": "string",
       "description": "hex color, e.g. 4682b4 or #fff (query)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "hex"
     ],
     "properties": {
      "hex": {
       "type": "string"
      },
      "hsl": {
       "type": "array"
      },
      "rgb": {
       "type": "array"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/saylor-innovations-color-info-b2b2b0c9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from saylorinnovations.com](https://www.zero.xyz/host/saylorinnovations.com/llms.txt)
