[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"guide-nav":3,"doc-\u002Fdocs\u002Fprimitives\u002Feffects-color":145},[4,10,16,20,24,28,32,36,40,44,48,52,56,60,64,69,73,78,82,86,90,94,98,102,106,110,114,117,120,124,127,131,134,138,141],{"path":5,"title":6,"description":7,"category":8,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide","Getting started","Shaders is a library of GPU effect components for Vue, React, Svelte, Solid, JavaScript and Framer, with a design editor for building with them.","code",null,{"path":11,"title":12,"description":13,"category":8,"exclude":14,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Fquickstart","Quickstart","Install Shaders, render your first effect, and drive a prop from state.",[15],"js",{"path":17,"title":18,"description":19,"category":8,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Fcomposing-effects","Composing effects","Stack components as layers and nest them to control which layers an effect touches.",{"path":21,"title":22,"description":23,"category":8,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Fblending-masking","Blending and masking","Control how a layer mixes with the layers below it, and reveal one layer through another.",{"path":25,"title":26,"description":27,"category":8,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Fprops-reactivity","Props and reactivity","Bind props to your framework's state so effects update when it changes, and animate props with an animation library.",{"path":29,"title":30,"description":31,"category":8,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Fdynamic-props","Dynamic props","Drive any numeric or position prop from time, the cursor, or another layer, without writing animation code.",{"path":33,"title":34,"description":35,"category":8,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Flayout-positioning","Layout and positioning","Size and place a shader in your page with CSS, as a background, a fill, or an inline block.",{"path":37,"title":38,"description":39,"category":8,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Ftransforms","Transforms","Position, size, and rotate any layer inside the canvas with a bounding box, in % or px units.",{"path":41,"title":42,"description":43,"category":8,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Fshape-effects","Shape effects","Pick the 2D, 3D or custom SVG shape that Glass, Neon, Emboss and other shape effects draw inside.",{"path":45,"title":46,"description":47,"category":8,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Fcolor-space","Color space","Match colors to your design tool with the output color space, and keep bright layers from clipping with tone mapping.",{"path":49,"title":50,"description":51,"category":8,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Fhooks-events","Hooks and events","Run code when an effect is ready to show, and show a fallback when the GPU can't run it.",{"path":53,"title":54,"description":55,"category":8,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Fperformance","Performance","Learn what makes an effect expensive on the GPU and how to keep it inside the frame budget.",{"path":57,"title":58,"description":59,"category":8,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Fcustom-shaders","Custom components","Write your own component in TypeScript, use it like any component in the library, and write WGSL by hand when you need to.",{"path":61,"title":62,"description":63,"category":8,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Ftelemetry","Telemetry","The `\u003CShader>` component occasionally sends an anonymous performance report to help us improve the engine over time.",{"path":65,"title":66,"description":67,"category":68,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Fmcp","Shaders MCP","Connect your AI coding agent to Shaders so it can find, install and edit effects in your codebase.","workflows",{"path":70,"title":71,"description":72,"category":68,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Fcli","Shaders CLI","Install shaders and presets into your codebase as component files, and keep them in sync with the design editor.",{"path":74,"title":75,"description":76,"category":77,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Fquick-tour-of-the-design-editor","Quick tour of the design editor","A short walkthrough of the full Shaders workflow, from designing on the infinite canvas to exporting code.","editor",{"path":79,"title":80,"description":81,"category":77,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Fintro-to-the-interface","Intro to the interface","A tour of the design editor interface: the canvas, layers, the Properties panel, and the ways to share and export.",{"path":83,"title":84,"description":85,"category":77,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Fcomposing-your-first-shader-effect","Composing your first shader effect","Building a first shader effect in the design editor by stacking and nesting components as layers.",{"path":87,"title":88,"description":89,"category":77,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Fmasking-and-blending","Masking and blending","How blend modes and masks combine components in the design editor.",{"path":91,"title":92,"description":93,"category":77,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Fdynamic-prop-mapping","Dynamic prop mapping","Turning static props into dynamic ones in the design editor: mapping one layer's output into another's prop, following the cursor, or animating automatically.",{"path":95,"title":96,"description":97,"category":77,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Fcustom-media-and-transformations","Custom media and transformations","Uploading images, videos, and SVG files to the media gallery, adding them to a composition, and placing them with transformations.",{"path":99,"title":100,"description":101,"category":77,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Finstalling-a-shader-via-mcp","Installing a shader via MCP","Installing a shader from the design editor into a hero section with the Shaders MCP.",{"path":103,"title":104,"description":105,"category":77,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Fexploring-shape-effects","Exploring shape effects","Applying shape effects such as liquid glass, liquid metal, and glowing edges to built-in shapes and your own SVG.",{"path":107,"title":108,"description":109,"category":77,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Fglass-component-spotlight","Component spotlight: Glass","A short look at the Glass component and the liquid-glass look it creates.",{"path":111,"title":112,"description":113,"category":77,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Fdigital-looks-component-spotlight","Component spotlight: Digital looks","A look at the digital stylization components for glitchy, futuristic, or technical effects.",{"path":115,"title":12,"description":116,"category":8,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Fjs\u002Fquickstart","Install Shaders without a framework, render your first effect on a canvas, and update props at runtime.",{"path":118,"title":12,"description":119,"category":8,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Freact\u002Fquickstart","Install Shaders in a React app, render your first effect, and drive a prop from state.",{"path":121,"title":122,"description":123,"category":8,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Freact\u002Fssr","Next.js and SSR","Render Shaders in Next.js and other React SSR apps by keeping each shader on the client.",{"path":125,"title":12,"description":126,"category":8,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Fsolid\u002Fquickstart","Install Shaders in a Solid app, render your first effect, and drive a prop from a signal.",{"path":128,"title":129,"description":130,"category":8,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Fsolid\u002Fssr","SolidStart and SSR","Render Shaders in SolidStart and other Solid SSR apps by keeping each shader on the client.",{"path":132,"title":12,"description":133,"category":8,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Fsvelte\u002Fquickstart","Install Shaders in a Svelte app, render your first effect, and drive a prop from state.",{"path":135,"title":136,"description":137,"category":8,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Fsvelte\u002Fssr","SvelteKit and SSR","Render Shaders in SvelteKit and other Svelte SSR apps, where each shader already waits for the browser.",{"path":139,"title":12,"description":140,"category":8,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Fvue\u002Fquickstart","Install Shaders in a Vue app, render your first effect, and drive a prop from a ref.",{"path":142,"title":143,"description":144,"category":8,"exclude":9,"forceFramework":9},"\u002Fdocs\u002Fguide\u002Fvue\u002Fssr","Nuxt and SSR","Render Shaders in Nuxt and other Vue SSR apps by keeping each shader on the client.",{"id":146,"title":147,"body":148,"categoryId":882,"categorySlug":883,"categoryTitle":9,"curated":501,"description":884,"editUrl":885,"extension":886,"group":887,"groupTitle":888,"kind":9,"meta":889,"navigation":501,"path":890,"seo":891,"sourceUrl":892,"stem":893,"wordCount":729,"__hash__":894},"primitives\u002Fdocs\u002Fprimitives\u002F26.effects-color\u002Findex.md","Color effects",{"type":149,"value":150,"toc":877},"minimark",[151,155,172,250,279,284,476,480,733,737,873],[152,153,147],"h1",{"id":154},"color-effects",[156,157,158,159,163,164,167,168,171],"p",{},"Words that recolor the layer inside them, one pixel at a time. Each returns a ",[160,161,162],"strong",{},"pointwise\neffect"," for a filter definition's ",[8,165,166],{},"effect:"," field: it reads the child's color at this pixel\nand returns the adjusted color, with alpha kept. Nothing is sampled from neighbouring\npixels, so these filters are cheap and stack freely. Pass props with ",[8,169,170],{},"p('name')","; the units\nare the ones the word names (degrees, 0–1 amounts, a multiplier around 1).",[156,173,174,175,182,183,189,190,196,197,200,201,207,208,211,212,218,219,211,222,218,228,211,231,237,238,241,242,245,246,249],{},"Most adjustments have a value that changes nothing (",[176,177,179],"a",{"href":178},"\u002Fdocs\u002Fprimitives\u002Feffects-color\u002Fsaturate",[8,180,181],{},"saturate"," at 1, ",[176,184,186],{"href":185},"\u002Fdocs\u002Fprimitives\u002Feffects-color\u002Fhuerotate",[8,187,188],{},"hueRotate"," at 0,\n",[176,191,193],{"href":192},"\u002Fdocs\u002Fprimitives\u002Feffects-color\u002Fsolarize",[8,194,195],{},"solarize"," at strength 0). Declare it with ",[8,198,199],{},"identityWhen"," so the filter is skipped when it is\ndoing nothing. The looks that pick a code path from a select or checkbox (",[176,202,204],{"href":203},"\u002Fdocs\u002Fprimitives\u002Feffects-color\u002Ftint",[8,205,206],{},"tint","'s\n",[8,209,210],{},"preserveLuminosity",", ",[176,213,215],{"href":214},"\u002Fdocs\u002Fprimitives\u002Feffects-color\u002Fduotone",[8,216,217],{},"duotone","'s ",[8,220,221],{},"colorSpace",[176,223,225],{"href":224},"\u002Fdocs\u002Fprimitives\u002Feffects-color\u002Fgradientmap",[8,226,227],{},"gradientMap",[8,229,230],{},"palette",[176,232,234],{"href":233},"\u002Fdocs\u002Fprimitives\u002Feffects-color\u002Fisolines",[8,235,236],{},"isolines","'\n",[8,239,240],{},"source"," and ",[8,243,244],{},"colorMode",") need that prop declared ",[8,247,248],{},"compileTime: true",".",[251,252,257],"pre",{"className":253,"code":254,"language":255,"meta":256,"style":256},"language-ts shiki shiki-themes github-dark","import {effects} from 'shaders\u002Fstd'\n","ts","",[8,258,259],{"__ignoreMap":256},[260,261,264,268,272,275],"span",{"class":262,"line":263},"line",1,[260,265,267],{"class":266},"snl16","import",[260,269,271],{"class":270},"s95oV"," {effects} ",[260,273,274],{"class":266},"from",[260,276,278],{"class":277},"sU2Wk"," 'shaders\u002Fstd'\n",[280,281,283],"h2",{"id":282},"reach-for-it-when","Reach for it when",[285,286,287,300],"table",{},[288,289,290],"thead",{},[291,292,293,297],"tr",{},[294,295,296],"th",{},"When you need",[294,298,299],{},"Use",[301,302,303,323,334,353,366,383,396,407,424,435,448,459],"tbody",{},[291,304,305,309],{},[306,307,308],"td",{},"more or less color",[306,310,311,315,316,322],{},[176,312,313],{"href":178},[8,314,181],{},", or ",[176,317,319],{"href":318},"\u002Fdocs\u002Fprimitives\u002Feffects-color\u002Fvibrance",[8,320,321],{},"vibrance"," to protect skin tones",[291,324,325,328],{},[306,326,327],{},"a different hue",[306,329,330],{},[176,331,332],{"href":185},[8,333,188],{},[291,335,336,339],{},[306,337,338],{},"brighter, darker, punchier",[306,340,341,211,347],{},[176,342,344],{"href":343},"\u002Fdocs\u002Fprimitives\u002Feffects-color\u002Fbrightnesscontrast",[8,345,346],{},"brightnessContrast",[176,348,350],{"href":349},"\u002Fdocs\u002Fprimitives\u002Feffects-color\u002Fexposure",[8,351,352],{},"exposure",[291,354,355,358],{},[306,356,357],{},"black and white",[306,359,360],{},[176,361,363],{"href":362},"\u002Fdocs\u002Fprimitives\u002Feffects-color\u002Fgrayscale",[8,364,365],{},"grayscale",[291,367,368,371],{},[306,369,370],{},"a negative or a darkroom flip of the highlights",[306,372,373,211,379],{},[176,374,376],{"href":375},"\u002Fdocs\u002Fprimitives\u002Feffects-color\u002Finvert",[8,377,378],{},"invert",[176,380,381],{"href":192},[8,382,195],{},[291,384,385,388],{},[306,386,387],{},"flat poster bands",[306,389,390],{},[176,391,393],{"href":392},"\u002Fdocs\u002Fprimitives\u002Feffects-color\u002Fposterize",[8,394,395],{},"posterize",[291,397,398,401],{},[306,399,400],{},"a color wash over everything",[306,402,403],{},[176,404,405],{"href":203},[8,406,206],{},[291,408,409,412],{},[306,410,411],{},"two or three colors mapped to brightness",[306,413,414,211,418],{},[176,415,416],{"href":214},[8,417,217],{},[176,419,421],{"href":420},"\u002Fdocs\u002Fprimitives\u002Feffects-color\u002Ftritone",[8,422,423],{},"tritone",[291,425,426,429],{},[306,427,428],{},"a full gradient mapped to brightness, animated or not",[306,430,431],{},[176,432,433],{"href":224},[8,434,227],{},[291,436,437,440],{},[306,438,439],{},"film grain",[306,441,442],{},[176,443,445],{"href":444},"\u002Fdocs\u002Fprimitives\u002Feffects-color\u002Ffilmgrain",[8,446,447],{},"filmGrain",[291,449,450,453],{},[306,451,452],{},"contour lines traced from brightness or alpha",[306,454,455],{},[176,456,457],{"href":233},[8,458,236],{},[291,460,461,468],{},[306,462,463,464,467],{},"a measured film-stock lookup table in a ",[8,465,466],{},"gpu:"," fragment",[306,469,470],{},[176,471,473],{"href":472},"\u002Fdocs\u002Fprimitives\u002Feffects-color\u002Flutatlasgrade",[8,474,475],{},"lutAtlasGrade",[280,477,479],{"id":478},"example","Example",[251,481,483],{"className":253,"code":482,"language":255,"meta":256,"style":256},"import {defineShader, p, effects, isZero, transformColor, transformColorSpace, colorSpaceOptions} from 'shaders\u002Fstd'\n\nconst {duotone} = effects.color\n\n\u002F\u002F Two-color print: shadows in one color, highlights in another, mixed in the chosen color space.\nexport const Duotone = defineShader({\n  name: 'Duotone',\n  props: {\n    colorA: {default: '#1a0b2e', transform: transformColor},\n    colorB: {default: '#f9ed69', transform: transformColor},\n    blend: {default: 0.5, ui: {type: 'range', min: 0, max: 1, step: 0.01}},\n    colorSpace: {default: 'oklch', transform: transformColorSpace, compileTime: true, ui: {type: 'select', options: colorSpaceOptions}},\n  },\n  effect: duotone({colorA: p('colorA'), colorB: p('colorB'), blend: p('blend'), colorSpace: p('colorSpace')}),\n  missingChildMessage: 'Duotone needs a child to recolor.',\n})\n",[8,484,485,496,503,524,529,536,558,570,576,588,599,635,658,664,716,727],{"__ignoreMap":256},[260,486,487,489,492,494],{"class":262,"line":263},[260,488,267],{"class":266},[260,490,491],{"class":270}," {defineShader, p, effects, isZero, transformColor, transformColorSpace, colorSpaceOptions} ",[260,493,274],{"class":266},[260,495,278],{"class":277},[260,497,499],{"class":262,"line":498},2,[260,500,502],{"emptyLinePlaceholder":501},true,"\n",[260,504,506,509,512,515,518,521],{"class":262,"line":505},3,[260,507,508],{"class":266},"const",[260,510,511],{"class":270}," {",[260,513,217],{"class":514},"sDLfK",[260,516,517],{"class":270},"} ",[260,519,520],{"class":266},"=",[260,522,523],{"class":270}," effects.color\n",[260,525,527],{"class":262,"line":526},4,[260,528,502],{"emptyLinePlaceholder":501},[260,530,532],{"class":262,"line":531},5,[260,533,535],{"class":534},"sAwPA","\u002F\u002F Two-color print: shadows in one color, highlights in another, mixed in the chosen color space.\n",[260,537,539,542,545,548,551,555],{"class":262,"line":538},6,[260,540,541],{"class":266},"export",[260,543,544],{"class":266}," const",[260,546,547],{"class":514}," Duotone",[260,549,550],{"class":266}," =",[260,552,554],{"class":553},"svObZ"," defineShader",[260,556,557],{"class":270},"({\n",[260,559,561,564,567],{"class":262,"line":560},7,[260,562,563],{"class":270},"  name: ",[260,565,566],{"class":277},"'Duotone'",[260,568,569],{"class":270},",\n",[260,571,573],{"class":262,"line":572},8,[260,574,575],{"class":270},"  props: {\n",[260,577,579,582,585],{"class":262,"line":578},9,[260,580,581],{"class":270},"    colorA: {default: ",[260,583,584],{"class":277},"'#1a0b2e'",[260,586,587],{"class":270},", transform: transformColor},\n",[260,589,591,594,597],{"class":262,"line":590},10,[260,592,593],{"class":270},"    colorB: {default: ",[260,595,596],{"class":277},"'#f9ed69'",[260,598,587],{"class":270},[260,600,602,605,608,611,614,617,620,623,626,629,632],{"class":262,"line":601},11,[260,603,604],{"class":270},"    blend: {default: ",[260,606,607],{"class":514},"0.5",[260,609,610],{"class":270},", ui: {type: ",[260,612,613],{"class":277},"'range'",[260,615,616],{"class":270},", min: ",[260,618,619],{"class":514},"0",[260,621,622],{"class":270},", max: ",[260,624,625],{"class":514},"1",[260,627,628],{"class":270},", step: ",[260,630,631],{"class":514},"0.01",[260,633,634],{"class":270},"}},\n",[260,636,638,641,644,647,650,652,655],{"class":262,"line":637},12,[260,639,640],{"class":270},"    colorSpace: {default: ",[260,642,643],{"class":277},"'oklch'",[260,645,646],{"class":270},", transform: transformColorSpace, compileTime: ",[260,648,649],{"class":514},"true",[260,651,610],{"class":270},[260,653,654],{"class":277},"'select'",[260,656,657],{"class":270},", options: colorSpaceOptions}},\n",[260,659,661],{"class":262,"line":660},13,[260,662,663],{"class":270},"  },\n",[260,665,667,670,672,675,677,680,683,686,688,690,693,696,698,700,703,706,708,710,713],{"class":262,"line":666},14,[260,668,669],{"class":270},"  effect: ",[260,671,217],{"class":553},[260,673,674],{"class":270},"({colorA: ",[260,676,156],{"class":553},[260,678,679],{"class":270},"(",[260,681,682],{"class":277},"'colorA'",[260,684,685],{"class":270},"), colorB: ",[260,687,156],{"class":553},[260,689,679],{"class":270},[260,691,692],{"class":277},"'colorB'",[260,694,695],{"class":270},"), blend: ",[260,697,156],{"class":553},[260,699,679],{"class":270},[260,701,702],{"class":277},"'blend'",[260,704,705],{"class":270},"), colorSpace: ",[260,707,156],{"class":553},[260,709,679],{"class":270},[260,711,712],{"class":277},"'colorSpace'",[260,714,715],{"class":270},")}),\n",[260,717,719,722,725],{"class":262,"line":718},15,[260,720,721],{"class":270},"  missingChildMessage: ",[260,723,724],{"class":277},"'Duotone needs a child to recolor.'",[260,726,569],{"class":270},[260,728,730],{"class":262,"line":729},16,[260,731,732],{"class":270},"})\n",[280,734,736],{"id":735},"words","Words",[738,739,741],"primitive-words",{":words":740},"[{\"name\":\"saturate\",\"path\":\"\u002Fdocs\u002Fprimitives\u002Feffects-color\u002Fsaturate\",\"summary\":\"Scale the child's saturation.\"},{\"name\":\"vibrance\",\"path\":\"\u002Fdocs\u002Fprimitives\u002Feffects-color\u002Fvibrance\",\"summary\":\"Boost muted colors while leaving already-vivid ones mostly alone.\"},{\"name\":\"hueRotate\",\"path\":\"\u002Fdocs\u002Fprimitives\u002Feffects-color\u002Fhuerotate\",\"summary\":\"Rotate the child's hue around the color wheel.\"},{\"name\":\"brightnessContrast\",\"path\":\"\u002Fdocs\u002Fprimitives\u002Feffects-color\u002Fbrightnesscontrast\",\"summary\":\"Adjust the child's brightness and contrast together.\"},{\"name\":\"exposure\",\"path\":\"\u002Fdocs\u002Fprimitives\u002Feffects-color\u002Fexposure\",\"summary\":\"Multiply the child's brightness, like opening a camera's aperture.\"},{\"name\":\"grayscale\",\"path\":\"\u002Fdocs\u002Fprimitives\u002Feffects-color\u002Fgrayscale\",\"summary\":\"Turn the child black and white, weighted the way the eye sees brightness.\"},{\"name\":\"invert\",\"path\":\"\u002Fdocs\u002Fprimitives\u002Feffects-color\u002Finvert\",\"summary\":\"Flip every color of the child to its negative.\"},{\"name\":\"solarize\",\"path\":\"\u002Fdocs\u002Fprimitives\u002Feffects-color\u002Fsolarize\",\"summary\":\"Invert only the bright parts of the child, the darkroom solarization look.\"},{\"name\":\"posterize\",\"path\":\"\u002Fdocs\u002Fprimitives\u002Feffects-color\u002Fposterize\",\"summary\":\"Reduce the child to a few flat color levels, like a screen-printed poster.\"},{\"name\":\"tint\",\"path\":\"\u002Fdocs\u002Fprimitives\u002Feffects-color\u002Ftint\",\"summary\":\"Wash the child toward one color.\"},{\"name\":\"duotone\",\"path\":\"\u002Fdocs\u002Fprimitives\u002Feffects-color\u002Fduotone\",\"summary\":\"Repaint the child in two colors: `colorA` for the shadows, `colorB` for the highlights.\"},{\"name\":\"tritone\",\"path\":\"\u002Fdocs\u002Fprimitives\u002Feffects-color\u002Ftritone\",\"summary\":\"Repaint the child in three colors: `colorA` for the shadows, `colorB` for the midtones, `colorC` for the highlights.\"},{\"name\":\"gradientMap\",\"path\":\"\u002Fdocs\u002Fprimitives\u002Feffects-color\u002Fgradientmap\",\"summary\":\"Recolor the child by its brightness through a gradient, the Photoshop gradient map.\"},{\"name\":\"filmGrain\",\"path\":\"\u002Fdocs\u002Fprimitives\u002Feffects-color\u002Ffilmgrain\",\"summary\":\"Sprinkle film grain over the child, heaviest in the shadows.\"},{\"name\":\"isolines\",\"path\":\"\u002Fdocs\u002Fprimitives\u002Feffects-color\u002Fisolines\",\"summary\":\"Draw topographic contour lines over the child, traced from its brightness or its alpha.\"},{\"name\":\"lutAtlasGrade\",\"path\":\"\u002Fdocs\u002Fprimitives\u002Feffects-color\u002Flutatlasgrade\",\"summary\":\"Grade a color through a measured 3D color lookup table (LUT), the film-stock look.\"}]",[742,743,744,752,759,766,773,780,787,794,801,808,815,830,845,852,859,866],"ul",{},[745,746,747,751],"li",{},[176,748,749],{"href":178},[8,750,181],{}," — Scale the child's saturation.",[745,753,754,758],{},[176,755,756],{"href":318},[8,757,321],{}," — Boost muted colors while leaving already-vivid ones mostly alone.",[745,760,761,765],{},[176,762,763],{"href":185},[8,764,188],{}," — Rotate the child's hue around the color wheel.",[745,767,768,772],{},[176,769,770],{"href":343},[8,771,346],{}," — Adjust the child's brightness and contrast together.",[745,774,775,779],{},[176,776,777],{"href":349},[8,778,352],{}," — Multiply the child's brightness, like opening a camera's aperture.",[745,781,782,786],{},[176,783,784],{"href":362},[8,785,365],{}," — Turn the child black and white, weighted the way the eye sees brightness.",[745,788,789,793],{},[176,790,791],{"href":375},[8,792,378],{}," — Flip every color of the child to its negative.",[745,795,796,800],{},[176,797,798],{"href":192},[8,799,195],{}," — Invert only the bright parts of the child, the darkroom solarization look.",[745,802,803,807],{},[176,804,805],{"href":392},[8,806,395],{}," — Reduce the child to a few flat color levels, like a screen-printed poster.",[745,809,810,814],{},[176,811,812],{"href":203},[8,813,206],{}," — Wash the child toward one color.",[745,816,817,821,822,825,826,829],{},[176,818,819],{"href":214},[8,820,217],{}," — Repaint the child in two colors: ",[8,823,824],{},"colorA"," for the shadows, ",[8,827,828],{},"colorB"," for the highlights.",[745,831,832,836,837,825,839,841,842,829],{},[176,833,834],{"href":420},[8,835,423],{}," — Repaint the child in three colors: ",[8,838,824],{},[8,840,828],{}," for the midtones, ",[8,843,844],{},"colorC",[745,846,847,851],{},[176,848,849],{"href":224},[8,850,227],{}," — Recolor the child by its brightness through a gradient, the Photoshop gradient map.",[745,853,854,858],{},[176,855,856],{"href":444},[8,857,447],{}," — Sprinkle film grain over the child, heaviest in the shadows.",[745,860,861,865],{},[176,862,863],{"href":233},[8,864,236],{}," — Draw topographic contour lines over the child, traced from its brightness or its alpha.",[745,867,868,872],{},[176,869,870],{"href":472},[8,871,475],{}," — Grade a color through a measured 3D color lookup table (LUT), the film-stock look.",[874,875,876],"style",{},"html pre.shiki code .snl16, html code.shiki .snl16{--shiki-default:#F97583}html pre.shiki code .s95oV, html code.shiki .s95oV{--shiki-default:#E1E4E8}html pre.shiki code .sU2Wk, html code.shiki .sU2Wk{--shiki-default:#9ECBFF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html pre.shiki code .sDLfK, html code.shiki .sDLfK{--shiki-default:#79B8FF}html pre.shiki code .sAwPA, html code.shiki .sAwPA{--shiki-default:#6A737D}html pre.shiki code .svObZ, html code.shiki .svObZ{--shiki-default:#B392F0}",{"title":256,"searchDepth":498,"depth":498,"links":878},[879,880,881],{"id":282,"depth":498,"text":283},{"id":478,"depth":498,"text":479},{"id":735,"depth":498,"text":736},"effects.color","effects-color","Words that recolor the layer inside them, one pixel at a time.","https:\u002F\u002Fgithub.com\u002Fshader-effects-inc\u002Fshaders\u002Fedit\u002Fmain\u002Fpackages\u002Fcore\u002Fdocs\u002Fstd\u002Feffects.color.md","md","effects","Filters & effects",{},"\u002Fdocs\u002Fprimitives\u002Feffects-color",{"title":147,"description":884},"https:\u002F\u002Fgithub.com\u002Fshader-effects-inc\u002Fshaders\u002Fblob\u002Fmain\u002Fpackages\u002Fcore\u002Fsrc\u002Fstd\u002Feffects\u002Fcolor.ts","docs\u002Fprimitives\u002F26.effects-color\u002Findex","PldAYLgOelsI8wzl0HTfVGkRlIRTfU5rxATNZq82EXA"]