Color Utilities

Saturate Color

Saturate Color increases color saturation by a specified percentage, making colors more vivid and intense. Use via MCP in Cursor or Windsurf, or call GET /v1/color/saturate with hex color and percentage parameters. For example, saturating #FF6B6B by 50% produces a more vibrant red. Works with any valid hex color code.

API Endpoint

GET /v1/color/saturate

Code Examples

curl "https://tinyfn.io/v1/color/saturate" \
  -H "X-API-Key: YOUR_API_KEY"
const response = await fetch('https://tinyfn.io/v1/color/saturate', {
  headers: { 'X-API-Key': 'YOUR_API_KEY' }
});
const data = await response.json();
console.log(data);
import requests

response = requests.get('https://tinyfn.io/v1/color/saturate',
    headers={'X-API-Key': 'YOUR_API_KEY'})
data = response.json()
print(data)

Use via MCP

Add to your AI agent

Connect your AI agent (Claude, Cursor, Windsurf, etc.) to TinyFn's color tools:

{
  "mcpServers": {
    "tinyfn-color": {
      "url": "https://tinyfn.io/mcp/color",
      "headers": {
        "X-API-Key": "YOUR_API_KEY"
      }
    }
  }
}

Learn more about MCP setup →

FAQ

How do I increase color saturation using MCP in AI coding assistants?

Call the saturate_color tool with a hex color and percentage. In Cursor or Claude Code, the AI agent can boost saturation deterministically without guessing color values.

What happens when I saturate an already fully saturated color?

The function applies the percentage increase mathematically, but colors hitting maximum saturation will plateau at their limit rather than overflow.

Can I use negative percentages to decrease saturation instead?

No, this tool only increases saturation. Use a desaturation tool or color adjustment function for reducing color intensity.

What color formats does the saturation tool accept?

The tool accepts standard hex color codes (like #FF6B6B or #f6b). RGB values need conversion to hex format first.

How is saturation percentage calculated in the color adjustment?

The percentage multiplies the existing saturation value in HSL color space, so 50% increase on 60% saturation yields 90% saturation.

Try Saturate Color Now

Get your free API key and start using Saturate Color in seconds.

Get Free API Key