MockHero

color_rgb

Media

Generate RGB color values as 'rgb(r, g, b)' strings. For CSS testing, color picker seeding, and design tool development.

Example Outputs

rgb(108, 92, 231)rgb(255, 107, 107)rgb(0, 210, 211)

API Usage

Send a POST request to generate color rgb data:

curl -X POST https://mockhero.dev/api/v1/generate \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "tables": [
    {
      "name": "example",
      "count": 5,
      "fields": [
        {
          "name": "color_rgb",
          "type": "color_rgb"
        }
      ]
    }
  ]
}'

Common Use Cases

  • CSS testing
  • Color picker seeding
  • Design tool testing
  • Theme generation

Quick Info

Field Type
color_rgb
Category
Media
Parameters
None required
Output Format
JSON, CSV, SQL

Try it now

Generate color rgb data instantly in the playground.

Related Types

Generate Color RGB + 155 more types via API

One API call. Multiple tables. Relational integrity. Free tier included.

Get Started Free