API Reference

Comprehensive documentation for integrating with our gradient and color manipulation APIs.

Endpoints

Generate Gradient

POST /api/v1/gradient/generate

  • Color Stops
  • Angle/Direction
  • Type (Linear/Radial)

Request Example

{
  "colors": ["#00f3ff", "#ff00cc"],
  "type": "linear",
  "angle": 45
}
                        

Parameters:

  • colors: Array of hex color codes
  • type: Gradient type (linear, radial)
  • angle: 0-360 degree value for direction

Generate Color Palette

POST /api/v1/palette/generate

  • Base Color
  • Variations Count

Response Example

{
  "palette": ["#00f3ff", "#33ffff", "#66ffff", "#99ffff", "#ccffff", "#fffcff"],
  "type": "cool_tones"
}
                        

Parameters:

  • base: Hex color for palette foundation
  • count: Number of shades to generate (3-12)

Color Conversion

GET /api/v1/convert/{format}

  • Color Input
  • Conversion Format

Available Conversions

RGB → HSL HEX → CMYK HSL → RGB

Ready to Integrate?

Sign up to get your API key and start building with our tools. No credit card required.

Get API Access