Generate synthetic color data
Generates synthetic color fixtures for testing design systems, CSS workflows, UI forms, visualization tools, and sample datasets. Supported methods: profile, cmyk, colorByCSSColorSpace, cssSupportedFunction, cssSupportedSpace, hsl, human, hwb, lab, lch, rgb, and space.
Authorizations
Bearer token authentication. Use format: Bearer YOUR_API_KEY
Body
Number of color records to generate (1-100). Passed as string but must be numeric.
^[1-9]\d?$|^100$"10"
Locale for generated data (e.g., en, es, fr, de, pt_BR, zh_CN)
"en"
Seed for deterministic generation. Same seed produces same results.
"12345"
Color generation method. Defaults to profile.
profile, cmyk, colorByCSSColorSpace, cssSupportedFunction, cssSupportedSpace, hsl, human, hwb, lab, lch, rgb, space "profile"
Output format for supported color methods. hex is supported only by rgb and profile.
decimal, css, binary, hex "css"
Include alpha in rgb, hsl, or profile output.
true, false "false"
Hex output letter casing for rgb or profile output.
upper, lower "upper"
Hex output prefix for rgb or profile output. Maximum 4 characters.
4"#"
CSS color space for colorByCSSColorSpace or profile output.
sRGB, display-p3, rec2020, a98-rgb, prophoto-rgb "display-p3"