Use hex color codes in FLUX.2 prompts for precise color matching: ideal for brand consistency, design work, and exact color control.
Use hex codes to specify target colors in FLUX.2. Associate each code with an object or surface, using a phrase such as “the mug in color #FF0000”. Check the rendered color when accuracy matters.
Apply gradients by specifying start and end colors:
Start: #02eb3cEnd: #edfa3cFlowers: #ff0088
Center: #6A0DADEdges: #FFD700
Upper: #1B0A3EMiddle: #CF6A2EHorizon: #E8728A
Pink: #FF0080Violet: #7928CACobalt: #0070F3
Hex codes work best when clearly associated with specific objects. Vague references like “use #FF0000 somewhere” may produce inconsistent results.
Was this page helpful?
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"Black Forest Labs","colors":{"primary":"#486A58","light":"#F6F1E7","dark":"#13251D"},"logo":{"light":"https://mintcdn.com/bfl/OQ5B17YmedKOM4zs/logo/logo_light.png?fit=max\u0026auto=format\u0026n=OQ5B17YmedKOM4zs\u0026q=85\u0026s=a11f73fac1ef9254cffa5eb412269198","dark":"https://mintcdn.com/bfl/OQ5B17YmedKOM4zs/logo/logo_dark.png?fit=max\u0026auto=format\u0026n=OQ5B17YmedKOM4zs\u0026q=85\u0026s=d933d5452b84db18fc87cd6321e33d08"},"favicon":"https://mintcdn.com/bfl/OQ5B17YmedKOM4zs/favicon.ico?fit=max\u0026auto=format\u0026n=OQ5B17YmedKOM4zs\u0026q=85\u0026s=d0fe6b872ae546a0581d176dfb8726ce","api":{"openapi":["https://api.bfl.ai/openapi.json","https://api.bfl.ai/v1/licenses/docs/openapi.json"]},"background":{"color":{"light":"#f3f1e6","dark":"#07130e"}},"navbar":{"links":[{"href":"https://help.bfl.ai","label":"Help Center"},{"href":"https://status.bfl.ai","label":"API Status"},{"href":"https://bfl.ai/pricing","label":"API Pricing"}],"primary":{"type":"button","label":"Get API Key","href":"https://dashboard.bfl.ai/"}},"footer":{"socials":{"x":"https://x.com/bfl_ai","github":"https://github.com/black-forest-labs","linkedin":"https://www.linkedin.com/company/bflai"},"links":[{"header":"Legal","items":[{"label":"Impressum","href":"https://bfl.ai/legal/imprint"},{"label":"Developer Terms of Service","href":"https://bfl.ai/legal/developer-terms-of-service"},{"label":"Flux API Service Terms","href":"https://bfl.ai/legal/flux-api-service-terms"},{"label":"Terms of Use","href":"https://bfl.ai/legal/terms-of-use"},{"label":"Responsible AI Development Policy","href":"https://bfl.ai/legal/responsible-ai-development-policy"},{"label":"Usage Policy","href":"https://bfl.ai/legal/usage-policy"},{"label":"Intellectual Property Policy","href":"https://bfl.ai/legal/intellectual-property-policy"},{"label":"Privacy Policy","href":"https://bfl.ai/legal/privacy-policy"}]},{"header":"Company","items":[{"label":"Careers","href":"https://bfl.ai/careers"},{"label":"Help Center","href":"https://help.bfl.ai/"},{"label":"Contact","href":"https://bfl.ai/contact"}]}]},"fonts":{"family":"Instrument Sans"},"integrations":{"posthog":{"apiKey":"phc_S5D9NAXVC6BGl2PWlhihIW6IcKFYloe6zvUZW9SU1Bu","apiHost":"https://eu.i.posthog.com"}},"banner":{"content":"Introducing FLUX 3 Image Klein, open weights • [Learn more](/flux_3/flux3_image_klein)","dismissible":true},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"thumbnails":{"background":"https://cdn.sanity.io/images/2gpum2i6/production/7a2a3a2a8d594db99b03a24b413a3f59da2f7e9e-2401x1284.jpg"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"bfl","hasAudioNarration":false,"actualSubdomain":"bfl","customDomains":["docs.bfl.ml","docs.bfl.ai"],"gitSource":{"type":"github","owner":"black-forest-labs","repo":"dokumentation","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ada4ccbb24e0f7b8738efdb","collectionId":"eb7ffcdc-c65e-4964-82dd-ae0795bc7569","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ada4ccbb24e0f7b8738efdb"},"feedback":{"thumbs":true,"agentFeedback":false},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ada4ccbb24e0f7b8738efdb","clientVersion":"0.0.3966","searchFilterCounts":[{"language":"default","tag":"Documentation","count":135},{"language":"default","tag":"Prompting Guide","count":54},{"language":"default","tag":"API Reference","count":31},{"language":"default","tag":"Use Cases with FLUX","count":21},{"language":"default","tag":"FLUX Tools","count":13},{"language":"default","tag":"Legacy Models","count":13},{"language":"default","tag":"FLUX 3","count":13},{"language":"default","tag":"Editing Use Cases","count":11},{"language":"default","tag":"Text-to-Image Use Cases","count":9},{"language":"default","tag":"Image Generation with FLUX","count":7}],"searchSettings":{"showContentSnippets":true}},"assistantConfig":{},"hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":true},"customCss":[{"filePath":"style.css","href":"/_mintlify/custom/bfl/28e9cddcb212eb2a/style.css"}],"page":{"pagePath":"guides/usecases_t2i_hex_color_prompting","slug":"/guides/usecases_t2i_hex_color_prompting","pageMetadata":{"title":"HEX Color Code Prompting","sidebarTitle":"HEX Color Prompting","description":"Use hex color codes in FLUX.2 prompts for precise color matching: ideal for brand consistency, design work, and exact color control.","mode":"wide","href":"/guides/usecases_t2i_hex_color_prompting"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Use hex color codes in FLUX.2 prompts for precise color matching: ideal for brand consistency, design work, and exact color control.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];const PromptDisplay=({prompt})=>{const[copied,setCopied]=useState(false);const copy=()=>{navigator.clipboard.writeText(prompt);setCopied(true);setTimeout(()=>setCopied(false),2e3)};return _jsx(`div`,{className:`not-prose`,style:{marginTop:`1rem`},children:_jsxs(`div`,{style:{backgroundColor:`#1a1a1a`,borderRadius:`1rem`,padding:`1.25rem 1.5rem`,display:`flex`,flexDirection:`column`,gap:`1rem`},children:[_jsx(`p`,{style:{color:`#e5e5e5`,fontSize:`1rem`,lineHeight:1.6,margin:0,fontFamily:`inherit`},children:prompt}),_jsx(`div`,{style:{display:`flex`,justifyContent:`flex-end`},children:_jsx(`button`,{onClick:copy,style:{backgroundColor:copied?`#3d8a5b`:`var(--aspen-evergreen, #486A58)`,color:`#fff`,border:`none`,borderRadius:`0.375rem`,padding:`0.25rem 0.6rem`,fontSize:`0.7rem`,fontWeight:600,cursor:`pointer`,transition:`background-color 0.2s`},children:copied?`Copied!`:`Copy prompt`})})]})})};function _createMdxContent(props){const _components={p:`p`,..._provideComponents(),...props.components},{Columns,Heading,OptimizedImage,Warning,_MdxComponentBoundary}=_components;if(!Columns)_missingMdxReference(`Columns`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Warning)_missingMdxReference(`Warning`,true);if(!_MdxComponentBoundary)_missingMdxReference(`_MdxComponentBoundary`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Use hex codes to specify target colors in FLUX.2. Associate each code with an object or surface, using a phrase such as “the mug in color #FF0000”. Check the rendered color when accuracy matters.`}),`\n`,_jsx(Heading,{level:`2`,id:`basic-syntax`,children:`Basic Syntax`}),`\n`,_jsx(_components.p,{children:`Signal hex colors with keywords like “color” or “hex” followed by the code:`}),`\n`,_jsxs(Columns,{cols:2,children:[_jsxs(`div`,{children:[_jsx(OptimizedImage,{src:`https://cdn.sanity.io/images/2gpum2i6/production/bf14460ae86f1758ac515d8919f7dd25fad01f32-2048x1312.png`,alt:`Basic hex color syntax example with blue apple illustration`,style:{width:`100%`,display:`block`,borderRadius:`8px`}}),_jsx(`div`,{style:{marginTop:8,marginBottom:8},children:_jsxs(`span`,{style:{display:`inline-flex`,alignItems:`center`,gap:8,marginRight:12,marginBottom:8},children:[_jsx(`span`,{\"aria-hidden\":`true`,style:{width:12,height:12,borderRadius:999,backgroundColor:`#0047AB`,border:`1px solid #d1d5db`,display:`inline-block`,flexShrink:0}}),_jsx(`code`,{children:`Apple: #0047AB`})]})}),_jsx(_MdxComponentBoundary,{name:`PromptDisplay`,children:_jsx(PromptDisplay,{prompt:`a vintage illustration of an apple in color #0047AB with a heart-shaped cutout in the middle, on a white background`})})]}),_jsxs(`div`,{children:[_jsx(OptimizedImage,{src:`https://cdn.sanity.io/images/2gpum2i6/production/265f7e1133ab7918aa4462edb35ed588944bc818-2048x1312.png`,alt:`Brand color example`,style:{width:`100%`,display:`block`,borderRadius:`8px`}}),_jsxs(`div`,{style:{marginTop:8},children:[_jsxs(`span`,{style:{display:`inline-flex`,alignItems:`center`,gap:8,marginRight:12,marginBottom:8},children:[_jsx(`span`,{\"aria-hidden\":`true`,style:{width:12,height:12,borderRadius:999,backgroundColor:`#C4725A`,border:`1px solid #d1d5db`,display:`inline-block`,flexShrink:0}}),_jsx(`code`,{children:`Walls: #C4725A`})]}),_jsxs(`span`,{style:{display:`inline-flex`,alignItems:`center`,gap:8,marginRight:12,marginBottom:8},children:[_jsx(`span`,{\"aria-hidden\":`true`,style:{width:12,height:12,borderRadius:999,backgroundColor:`#1B6B6F`,border:`1px solid #d1d5db`,display:`inline-block`,flexShrink:0}}),_jsx(`code`,{children:`Sofa: #1B6B6F`})]}),_jsxs(`span`,{style:{display:`inline-flex`,alignItems:`center`,gap:8,marginRight:12,marginBottom:8},children:[_jsx(`span`,{\"aria-hidden\":`true`,style:{width:12,height:12,borderRadius:999,backgroundColor:`#E8A847`,border:`1px solid #d1d5db`,display:`inline-block`,flexShrink:0}}),_jsx(`code`,{children:`Accent: #E8A847`})]})]}),_jsx(_MdxComponentBoundary,{name:`PromptDisplay`,children:_jsx(PromptDisplay,{prompt:`A modern living room with warm terracotta walls in hex #C4725A, a large L-shaped sectional sofa in deep teal hex #1B6B6F, and golden amber hex #E8A847 accent pillows, throw blanket, and a velvet ottoman.`})})]})]}),`\n`,_jsxs(Columns,{cols:2,children:[_jsxs(`div`,{children:[_jsx(OptimizedImage,{src:`https://cdn.sanity.io/images/2gpum2i6/production/977e4a3c8503701440bcd2b396816b218436615c-2048x1312.png`,alt:`Sunflower with hex color prompting`,style:{width:`100%`,display:`block`,borderRadius:`8px`}}),_jsx(`div`,{style:{marginTop:8},children:_jsxs(`span`,{style:{display:`inline-flex`,alignItems:`center`,gap:8,marginRight:12,marginBottom:8},children:[_jsx(`span`,{\"aria-hidden\":`true`,style:{width:12,height:12,borderRadius:999,backgroundColor:`#C92695`,border:`1px solid #d1d5db`,display:`inline-block`,flexShrink:0}}),_jsx(`code`,{children:`Sunflower: #C92695`})]})}),_jsx(_MdxComponentBoundary,{name:`PromptDisplay`,children:_jsx(PromptDisplay,{prompt:`sunflower in color #C92695`})})]}),_jsxs(`div`,{children:[_jsx(OptimizedImage,{src:`https://cdn.sanity.io/images/2gpum2i6/production/b81756df738a87a3b2f199c8581a77e17dc578ac-2048x1312.png`,alt:`Liquid lucid composition with hex colors`,style:{width:`100%`,display:`block`,borderRadius:`8px`}}),_jsxs(`div`,{style:{marginTop:8},children:[_jsxs(`span`,{style:{display:`inline-flex`,alignItems:`center`,gap:8,marginRight:12,marginBottom:8},children:[_jsx(`span`,{\"aria-hidden\":`true`,style:{width:12,height:12,borderRadius:999,backgroundColor:`#00FF2F`,border:`1px solid #d1d5db`,display:`inline-block`,flexShrink:0}}),_jsx(`code`,{children:`#00FF2F`})]}),_jsxs(`span`,{style:{display:`inline-flex`,alignItems:`center`,gap:8,marginRight:12,marginBottom:8},children:[_jsx(`span`,{\"aria-hidden\":`true`,style:{width:12,height:12,borderRadius:999,backgroundColor:`#0D00FF`,border:`1px solid #d1d5db`,display:`inline-block`,flexShrink:0}}),_jsx(`code`,{children:`#0D00FF`})]}),_jsxs(`span`,{style:{display:`inline-flex`,alignItems:`center`,gap:8,marginRight:12,marginBottom:8},children:[_jsx(`span`,{\"aria-hidden\":`true`,style:{width:12,height:12,borderRadius:999,backgroundColor:`#FF0000`,border:`1px solid #d1d5db`,display:`inline-block`,flexShrink:0}}),_jsx(`code`,{children:`#FF0000`})]})]}),_jsx(_MdxComponentBoundary,{name:`PromptDisplay`,children:_jsx(PromptDisplay,{prompt:`An aesthetically pleasant liquid lucid composition of predominantly wintery colors with deep, rich and saturated #00FF2F #0D00FF #FF0000`})})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`gradient-colors`,children:`Gradient Colors`}),`\n`,_jsx(_components.p,{children:`Apply gradients by specifying start and end colors:`}),`\n`,_jsxs(Columns,{cols:2,children:[_jsxs(`div`,{children:[_jsx(OptimizedImage,{src:`https://cdn.sanity.io/images/2gpum2i6/production/16d60384340172110e73d3f9a135c2c8318b1189-2048x1312.png`,alt:`Vase with gradient colors`,style:{width:`100%`,display:`block`,borderRadius:`8px`}}),_jsxs(`div`,{style:{marginTop:8},children:[_jsxs(`span`,{style:{display:`inline-flex`,alignItems:`center`,gap:8,marginRight:12,marginBottom:8},children:[_jsx(`span`,{\"aria-hidden\":`true`,style:{width:12,height:12,borderRadius:999,backgroundColor:`#02eb3c`,border:`1px solid #d1d5db`,display:`inline-block`,flexShrink:0}}),_jsx(`code`,{children:`Start: #02eb3c`})]}),_jsxs(`span`,{style:{display:`inline-flex`,alignItems:`center`,gap:8,marginRight:12,marginBottom:8},children:[_jsx(`span`,{\"aria-hidden\":`true`,style:{width:12,height:12,borderRadius:999,backgroundColor:`#edfa3c`,border:`1px solid #d1d5db`,display:`inline-block`,flexShrink:0}}),_jsx(`code`,{children:`End: #edfa3c`})]}),_jsxs(`span`,{style:{display:`inline-flex`,alignItems:`center`,gap:8,marginRight:12,marginBottom:8},children:[_jsx(`span`,{\"aria-hidden\":`true`,style:{width:12,height:12,borderRadius:999,backgroundColor:`#ff0088`,border:`1px solid #d1d5db`,display:`inline-block`,flexShrink:0}}),_jsx(`code`,{children:`Flowers: #ff0088`})]})]}),_jsx(_MdxComponentBoundary,{name:`PromptDisplay`,children:_jsx(PromptDisplay,{prompt:`A vase on a table in living room, the color of the vase is a gradient, starting with color #02eb3c and finishing with color #edfa3c. The flowers inside the vase have the color #ff0088`})})]}),_jsxs(`div`,{children:[_jsx(OptimizedImage,{src:`https://cdn.sanity.io/images/2gpum2i6/production/234a2b1db9d33bde2feb84677b3593472bb224bb-2048x1312.png`,alt:`Round silk throw pillow with radial gradient`,style:{width:`100%`,display:`block`,borderRadius:`8px`}}),_jsxs(`div`,{style:{marginTop:8},children:[_jsxs(`span`,{style:{display:`inline-flex`,alignItems:`center`,gap:8,marginRight:12,marginBottom:8},children:[_jsx(`span`,{\"aria-hidden\":`true`,style:{width:12,height:12,borderRadius:999,backgroundColor:`#6A0DAD`,border:`1px solid #d1d5db`,display:`inline-block`,flexShrink:0}}),_jsx(`code`,{children:`Center: #6A0DAD`})]}),_jsxs(`span`,{style:{display:`inline-flex`,alignItems:`center`,gap:8,marginRight:12,marginBottom:8},children:[_jsx(`span`,{\"aria-hidden\":`true`,style:{width:12,height:12,borderRadius:999,backgroundColor:`#FFD700`,border:`1px solid #d1d5db`,display:`inline-block`,flexShrink:0}}),_jsx(`code`,{children:`Edges: #FFD700`})]})]}),_jsx(_MdxComponentBoundary,{name:`PromptDisplay`,children:_jsx(PromptDisplay,{prompt:`A round silk throw pillow resting on a light gray linen sofa, the fabric of the pillow shows a radial gradient from rich purple (#6A0DAD) at the center fading outward to warm gold (#FFD700) at the edges, even ambient indoor lighting, close-up perspective.`})})]})]}),`\n`,_jsxs(Columns,{cols:2,children:[_jsxs(`div`,{children:[_jsx(OptimizedImage,{src:`https://cdn.sanity.io/images/2gpum2i6/production/cbe5e55d89bcb1aff61124e60091034eadc58e40-2048x1312.png`,alt:`Panoramic sky with three horizontal gradient color zones`,style:{width:`100%`,display:`block`,borderRadius:`8px`}}),_jsxs(`div`,{style:{marginTop:8},children:[_jsxs(`span`,{style:{display:`inline-flex`,alignItems:`center`,gap:8,marginRight:12,marginBottom:8},children:[_jsx(`span`,{\"aria-hidden\":`true`,style:{width:12,height:12,borderRadius:999,backgroundColor:`#1B0A3E`,border:`1px solid #d1d5db`,display:`inline-block`,flexShrink:0}}),_jsx(`code`,{children:`Upper: #1B0A3E`})]}),_jsxs(`span`,{style:{display:`inline-flex`,alignItems:`center`,gap:8,marginRight:12,marginBottom:8},children:[_jsx(`span`,{\"aria-hidden\":`true`,style:{width:12,height:12,borderRadius:999,backgroundColor:`#CF6A2E`,border:`1px solid #d1d5db`,display:`inline-block`,flexShrink:0}}),_jsx(`code`,{children:`Middle: #CF6A2E`})]}),_jsxs(`span`,{style:{display:`inline-flex`,alignItems:`center`,gap:8,marginRight:12,marginBottom:8},children:[_jsx(`span`,{\"aria-hidden\":`true`,style:{width:12,height:12,borderRadius:999,backgroundColor:`#E8728A`,border:`1px solid #d1d5db`,display:`inline-block`,flexShrink:0}}),_jsx(`code`,{children:`Horizon: #E8728A`})]})]}),_jsx(_MdxComponentBoundary,{name:`PromptDisplay`,children:_jsx(PromptDisplay,{prompt:`A wide panoramic view of a vast open sky stretching above a flat horizon line hills. The sky fills the entire frame and displays three distinct horizontal color zones blending smoothly into each other. The upper portion of the sky is deep indigo (#1B0A3E), gradually transitioning through the middle into a warm burnt amber (#CF6A2E), and the lowest section near the horizon glows in soft rose pink (#E8728A).`})})]}),_jsxs(`div`,{children:[_jsx(OptimizedImage,{src:`https://cdn.sanity.io/images/2gpum2i6/production/d9411e0e52dabd1be5efd0bc16a67fd6219ce29f-2048x1312.png`,alt:`Product shot with pink-to-purple-to-blue gradient backdrop`,style:{width:`100%`,display:`block`,borderRadius:`8px`}}),_jsxs(`div`,{style:{marginTop:8},children:[_jsxs(`span`,{style:{display:`inline-flex`,alignItems:`center`,gap:8,marginRight:12,marginBottom:8},children:[_jsx(`span`,{\"aria-hidden\":`true`,style:{width:12,height:12,borderRadius:999,backgroundColor:`#FF0080`,border:`1px solid #d1d5db`,display:`inline-block`,flexShrink:0}}),_jsx(`code`,{children:`Pink: #FF0080`})]}),_jsxs(`span`,{style:{display:`inline-flex`,alignItems:`center`,gap:8,marginRight:12,marginBottom:8},children:[_jsx(`span`,{\"aria-hidden\":`true`,style:{width:12,height:12,borderRadius:999,backgroundColor:`#7928CA`,border:`1px solid #d1d5db`,display:`inline-block`,flexShrink:0}}),_jsx(`code`,{children:`Violet: #7928CA`})]}),_jsxs(`span`,{style:{display:`inline-flex`,alignItems:`center`,gap:8,marginRight:12,marginBottom:8},children:[_jsx(`span`,{\"aria-hidden\":`true`,style:{width:12,height:12,borderRadius:999,backgroundColor:`#0070F3`,border:`1px solid #d1d5db`,display:`inline-block`,flexShrink:0}}),_jsx(`code`,{children:`Cobalt: #0070F3`})]})]}),_jsx(_MdxComponentBoundary,{name:`PromptDisplay`,children:_jsx(PromptDisplay,{prompt:`Studio product still, seamless gradient backdrop transitioning left-to-right from hot pink (#FF0080) through violet-purple (#7928CA) into electric cobalt blue (#0070F3), velvet smooth, zero banding. Single hero product centered, matte surface with soft specular catch. Large softbox 45° camera-left, rim light camera-right for edge definition. 85mm lens, f/8, dead-center eye-level.`})})]})]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Hex codes work best when clearly associated with specific objects. Vague references like “use #FF0000 somewhere” may produce inconsistent results.`})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{PromptDisplay,default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"HEX Color Code Prompting","sidebarTitle":"HEX Color Prompting","description":"Use hex color codes in FLUX.2 prompts for precise color matching: ideal for brand consistency, design work, and exact color control.","mode":"wide","href":"/guides/usecases_t2i_hex_color_prompting"}}},"mdxSourceWithNoJs":null,"noJsSplices":[[149,1044,")=>null;function _cr"]]},"mdxExtracts":{"tableOfContents":[{"title":"Basic Syntax","slug":"basic-syntax","depth":2,"children":[]},{"title":"Gradient Colors","slug":"gradient-colors","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/bfl/589dc04dc07c9b1b/analytics.js"],"subdomain":"bfl","siteName":"Black Forest Labs","title":"HEX Color Code Prompting - Black Forest Labs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-01T18:49:21.443Z","originalFileLocation":"guides/usecases_t2i_hex_color_prompting.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Use hex color codes in FLUX.2 prompts for precise color matching: ideal for brand consistency, design work, and exact color control.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Black Forest Labs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/bfl/qSW9OJZxslZOxxB1/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/bfl/qSW9OJZxslZOxxB1/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/bfl/qSW9OJZxslZOxxB1/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/bfl/qSW9OJZxslZOxxB1/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/bfl/qSW9OJZxslZOxxB1/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/bfl/qSW9OJZxslZOxxB1/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/bfl/qSW9OJZxslZOxxB1/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/bfl/qSW9OJZxslZOxxB1/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/bfl/qSW9OJZxslZOxxB1/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"HEX Color Code Prompting - Black Forest Labs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Use hex color codes in FLUX.2 prompts for precise color matching: ideal for brand consistency, design work, and exact color control.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Black Forest Labs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.bfl.ml/guides/usecases_t2i_hex_color_prompting\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://bfl.mintlify.app/_mintlify/api/og/v2?division=Text-to-Image+Use+Cases\u0026amp;title=HEX+Color+Code+Prompting\u0026amp;description=Use+hex+color+codes+in+FLUX.2+prompts+for+precise+color+matching%3A+ideal+for+brand+consistency%2C+design+work%2C+and+exact+color+control.\u0026amp;theme=a70df1157b5b08d96e98c16c\u0026amp;signature=2d854d89a51c9855d21be3dae1549064d0a8a0fbb8a70255a6b457ea6f7acecc\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"HEX Color Code Prompting - Black Forest Labs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Use hex color codes in FLUX.2 prompts for precise color matching: ideal for brand consistency, design work, and exact color control.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://bfl.mintlify.app/_mintlify/api/og/v2?division=Text-to-Image+Use+Cases\u0026amp;title=HEX+Color+Code+Prompting\u0026amp;description=Use+hex+color+codes+in+FLUX.2+prompts+for+precise+color+matching%3A+ideal+for+brand+consistency%2C+design+work%2C+and+exact+color+control.\u0026amp;theme=a70df1157b5b08d96e98c16c\u0026amp;signature=2d854d89a51c9855d21be3dae1549064d0a8a0fbb8a70255a6b457ea6f7acecc\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/bfl/qSW9OJZxslZOxxB1/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Black Forest Labs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#486A58\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.bfl.ml/guides/usecases_t2i_hex_color_prompting\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/guides/usecases_t2i_hex_color_prompting.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.bfl.ml/#organization\",\"name\":\"Black Forest Labs\",\"url\":\"https://docs.bfl.ml\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/bfl/OQ5B17YmedKOM4zs/logo/logo_light.png?fit=max\u0026auto=format\u0026n=OQ5B17YmedKOM4zs\u0026q=85\u0026s=a11f73fac1ef9254cffa5eb412269198\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.bfl.ml#website\",\"name\":\"Black Forest Labs\",\"url\":\"https://docs.bfl.ml\",\"publisher\":{\"@id\":\"https://docs.bfl.ml/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.bfl.ml/guides/usecases_t2i_hex_color_prompting#webpage\",\"url\":\"https://docs.bfl.ml/guides/usecases_t2i_hex_color_prompting\",\"name\":\"HEX Color Code Prompting\",\"description\":\"Use hex color codes in FLUX.2 prompts for precise color matching: ideal for brand consistency, design work, and exact color control.\",\"dateModified\":\"2026-10-01T18:49:21.443Z\",\"isPartOf\":{\"@id\":\"https://docs.bfl.ml#website\"},\"breadcrumb\":{\"@id\":\"https://docs.bfl.ml/guides/usecases_t2i_hex_color_prompting#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.bfl.ml/guides/usecases_t2i_hex_color_prompting#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Use Cases with FLUX\",\"item\":\"https://docs.bfl.ml/guides/prompting_unified_usecases\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Text-to-Image Use Cases\",\"item\":\"https://docs.bfl.ml/guides/usecases_t2i_photorealistic\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"HEX Color Code Prompting\",\"item\":\"https://docs.bfl.ml/guides/usecases_t2i_hex_color_prompting\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.bfl.ml/guides/usecases_t2i_hex_color_prompting#article\",\"headline\":\"HEX Color Code Prompting\",\"name\":\"HEX Color Code Prompting\",\"description\":\"Use hex color codes in FLUX.2 prompts for precise color matching: ideal for brand consistency, design work, and exact color control.\",\"url\":\"https://docs.bfl.ml/guides/usecases_t2i_hex_color_prompting\",\"mainEntityOfPage\":{\"@id\":\"https://docs.bfl.ml/guides/usecases_t2i_hex_color_prompting#webpage\"},\"dateModified\":\"2026-10-01T18:49:21.443Z\",\"publisher\":{\"@id\":\"https://docs.bfl.ml/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.bfl.ml#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Black Forest Labs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Black Forest Labs","nav":{"global":null,"anchors":[{"anchor":"Documentation","icon":"book-open-cover","tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/quick_start/introduction"}]},{"tab":"Cookbook","hidden":true,"searchable":true,"pages":[{"title":"Cookbook","href":"/cookbook/overview"}]},{"tab":"Prompting Guide","groups":[{"group":"Video Generation with FLUX","pages":[{"title":"Video Generation with FLUX","sidebarTitle":"Overview","mode":"wide","href":"/guides/prompting_video_overview"},{"title":"Text-to-Video","sidebarTitle":"Text-to-Video","href":"/guides/prompting_video_text_to_video"},{"title":"Audio and speech","sidebarTitle":"Audio and speech","href":"/guides/prompting_video_audio"},{"title":"Image-to-Video","sidebarTitle":"Image-to-Video","href":"/guides/prompting_video_image_to_video"},{"title":"Video Editing","sidebarTitle":"Video Editing","href":"/guides/prompting_video_editing"},{"title":"Examples \u0026 Cheatsheet","sidebarTitle":"Examples \u0026 Cheatsheet","mode":"wide","href":"/guides/prompting_video_camera_terms"}]},{"group":"Image Generation with FLUX","pages":[{"title":"FLUX Prompting Guide","sidebarTitle":"Overview","href":"/guides/prompting_summary"},{"title":"Prompting Basics","sidebarTitle":"Prompting Basics","href":"/guides/prompting_unified_basics"},{"title":"Building a Good Prompt","sidebarTitle":"Building a Good Prompt","href":"/guides/prompting_unified_building"},{"title":"Style, Aesthetics \u0026 Text","sidebarTitle":"Style, Aesthetics \u0026 Text","href":"/guides/prompting_unified_style"},{"title":"Technical Parameters","sidebarTitle":"Technical Parameters","href":"/guides/prompting_unified_technical"},{"title":"Layout prompts","sidebarTitle":"Layout prompts","href":"/guides/prompting_layout"},{"title":"Prompt Reference","sidebarTitle":"Prompt Reference","href":"/guides/prompting_unified_reference"}]},{"group":"Image Editing with FLUX","pages":[{"title":"Image Editing","sidebarTitle":"Image Editing","href":"/guides/prompting_editing_overview"},{"title":"Single-Reference Editing","sidebarTitle":"Single-Reference Editing","href":"/guides/prompting_editing_single_reference"},{"title":"Multi-Reference Editing","sidebarTitle":"Multi-Reference Editing","href":"/guides/prompting_editing_multi_reference"}]},{"group":"Use Cases with FLUX","pages":[{"title":"Use Cases","sidebarTitle":"Use Cases","mode":"wide","href":"/guides/prompting_unified_usecases"},{"group":"Text-to-Image Use Cases","pages":[{"title":"Photorealistic Images","sidebarTitle":"Photorealistic Images","description":"Generate photorealistic images with FLUX.2 across macro photography, cinematic landscapes, and documentary scenes using lens and lighting prompts.","mode":"wide","href":"/guides/usecases_t2i_photorealistic"},{"title":"HEX Color Code Prompting","sidebarTitle":"HEX Color Prompting","mode":"wide","href":"/guides/usecases_t2i_hex_color_prompting"},{"title":"JSON Structured Prompting","sidebarTitle":"JSON Prompting","description":"Use structured JSON prompts for precise control over complex scenes","href":"/guides/usecases_t2i_json_prompting"},{"title":"Typography \u0026 Design","sidebarTitle":"Typography \u0026 Design","mode":"wide","href":"/guides/usecases_t2i_typography_design"},{"title":"Infographics","sidebarTitle":"Infographics","mode":"wide","href":"/guides/usecases_t2i_infographics"},{"title":"Multi-Language Prompting","sidebarTitle":"Multi-Language","href":"/guides/usecases_t2i_multi_language"},{"title":"World Knowledge","sidebarTitle":"World Knowledge","mode":"wide","href":"/guides/usecases_t2i_world_knowledge"},{"title":"UI Mockups","sidebarTitle":"UI Mockups","mode":"wide","href":"/guides/usecases_t2i_ui_mockups"},{"title":"Product Mockups","sidebarTitle":"Product Mockups","mode":"wide","href":"/guides/usecases_t2i_product_mockups"}]},{"group":"Outdated","hidden":true,"pages":[{"title":"Logo Generation","sidebarTitle":"Logo Generation","mode":"wide","href":"/guides/usecases_t2i_logo_generation"},{"title":"Style Transfer","sidebarTitle":"Style Transfer","mode":"wide","href":"/guides/usecases_t2i_style_transfer"},{"title":"Interior Design","sidebarTitle":"Interior Design","mode":"wide","href":"/guides/usecases_t2i_interior_design"},{"title":"Virtual Clothing Try-On","sidebarTitle":"Virtual Clothing Try-On","mode":"wide","href":"/guides/usecases_t2i_clothing_tryon"},{"title":"Lighting and Weather Transformation","sidebarTitle":"Lighting \u0026 Weather","mode":"wide","href":"/guides/usecases_t2i_lighting_weather"},{"title":"Object Removal","sidebarTitle":"Object Removal","href":"/guides/usecases_t2i_object_removal"},{"title":"Insert the Person Into a Scene","sidebarTitle":"Person Into a Scene","href":"/guides/usecases_t2i_person_in_scene"},{"title":"Multi-Image Referencing and Compositing","sidebarTitle":"Multi-Image Compositing","href":"/guides/usecases_t2i_multi_image_compositing"},{"title":"3D Pop-Up Card \u0026 Paper Art","sidebarTitle":"3D Pop-Up Card","mode":"wide","href":"/guides/usecases_t2i_3d_popup_card"},{"title":"Action Figure / Plush","sidebarTitle":"Action Figure / Plush","mode":"wide","href":"/guides/usecases_t2i_action_figure"},{"title":"Children's Book Art","sidebarTitle":"Children's Book Art","mode":"wide","href":"/guides/usecases_t2i_childrens_book"}]},{"group":"Editing Use Cases","pages":[{"title":"Style Transfer","sidebarTitle":"Style Transfer","mode":"wide","href":"/guides/usecases_editing_style_transfer"},{"title":"Fashion","sidebarTitle":"Fashion","mode":"wide","href":"/guides/usecases_editing_clothing_tryon"},{"title":"Drawing to Image (Rendering)","sidebarTitle":"Drawing to Image","mode":"wide","href":"/guides/usecases_editing_drawing_rendering"},{"title":"Lighting and Weather Transformation","sidebarTitle":"Lighting \u0026 Weather","mode":"wide","href":"/guides/usecases_editing_lighting_weather"},{"title":"Object Removal","sidebarTitle":"Object Removal","mode":"wide","href":"/guides/usecases_editing_object_removal"},{"title":"Interior Design","sidebarTitle":"Interior Design","mode":"wide","href":"/guides/usecases_editing_interior_design"},{"title":"Product Consistency","sidebarTitle":"Product Consistency","mode":"wide","href":"/guides/usecases_editing_product_consistency"},{"title":"Character \u0026 Style Consistency","sidebarTitle":"Character \u0026 Style Consistency","mode":"wide","href":"/guides/usecases_editing_character_consistency"},{"title":"Insert the Person Into a Scene","sidebarTitle":"Person Into a Scene","mode":"wide","href":"/guides/usecases_editing_person_in_scene"},{"title":"Multi-Image Referencing and Compositing","sidebarTitle":"Multi-Image Compositing","mode":"wide","href":"/guides/usecases_editing_multi_image_compositing"},{"title":"Pose \u0026 Layout Guidance","sidebarTitle":"Pose \u0026 Layout Guidance","mode":"wide","href":"/guides/usecases_editing_controlnets"}]}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/utility/get-result"}]},{"tab":"Release Notes","pages":[{"title":"Release Notes","href":"/release-notes"}]}]},{"anchor":"Prompting Guide","icon":"graduation-cap","pages":[{"title":"Prompting Guide","href":"/guides/prompting_video_overview"}]},{"anchor":"BFL Homepage","icon":"house","href":"https://bfl.ai"},{"anchor":"Help Center","icon":"question","href":"https://help.bfl.ai"}]},"title":"HEX Color Code Prompting - Black Forest Labs","buildId":"dpl_cadrRc5H9XQiJQbDFN5mcYRs2PAj","deploymentId":"dpl_cadrRc5H9XQiJQbDFN5mcYRs2PAj","dynamics":["10e4515597","a74be98ba7"],"chunks":["BannerMarkdown-Og7hgu7u.js","dist-BaREnp3o.js","lib--scc4DXi.js","lib-B8HbPgcC.js","clsx-CefdjKz2.js","html-void-elements-mCSPHezU.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","zoom-image-lightbox-B0E5HDf_.js","lightbox-handle-r17bVUz3.js"]}