{"schemaVersion":1,"id":"radix-colors","name":"Radix Colors","locale":"en","canonicalUrl":"https://base.akulich.dev/en/library/radix-colors/","officialUrl":"https://www.radix-ui.com/colors","isCatalog":false,"description":"Ready-to-use color scales for light and dark interfaces, transparent layers, and semantic states.","tasks":["Consistent light and dark themes","Color scales for interface states"],"categoryIds":["design"],"subcategoryIds":["design.color"],"tags":["CSS","JavaScript","color"],"aliases":["radix-ui/colors"],"platforms":[],"stack":[],"compatibility":null,"pricing":"free","freeUsage":"Radix Colors code is available free of charge for local and commercial projects, subject to its license.","paidUsage":"This library does not require a paid plan. Development and hosting of the finished application are separate from the free code license.","license":"MIT: permits commercial use, modification, and distribution of the code at no charge, provided the license text and copyright notice are retained.","selectionGuide":{"purpose":"Consistent light and dark themes","chooseWhen":["Consistent light and dark themes","Color scales for interface states"],"considerInstead":[],"requirements":["Assign semantic roles to scale steps: background, component state, border, and text; check your own color pairs."],"limitations":["Costs and limits of free use: This library does not require a paid plan. Development and hosting of the finished application are separate from the free code license.","Terms of use: MIT: permits commercial use, modification, and distribution of the code at no charge, provided the license text and copyright notice are retained.","White text on step 9 is not a universal rule: the documentation identifies scales requiring dark text."],"faq":[{"question":"What can you use for free in Radix Colors?","answer":"Radix Colors code is available free of charge for local and commercial projects, subject to its license."},{"question":"What additional costs might arise with Radix Colors?","answer":"This library does not require a paid plan. Development and hosting of the finished application are separate from the free code license."},{"question":"What terms of use matter for Radix Colors?","answer":"MIT: permits commercial use, modification, and distribution of the code at no charge, provided the license text and copyright notice are retained."},{"question":"How do you get started with Radix Colors?","answer":"Check the project's stack and version against the current Radix Colors documentation; add the package or the required source component. Implement the selected workflow with the supplied data, adapting styles and states to the project. Check the result in the target environment, remove sample data, and retain the notices required by the license."},{"question":"What text should I use over a Radix Colors primary color?","answer":"In most scales, steps 9–10 are intended for white text. Sky, Mint, Lime, Yellow, and Amber require dark text. Steps 11–12 are intended for text on the corresponding backgrounds; this does not confirm accessibility of arbitrary combinations from different scales."}],"related":[],"sources":["https://www.radix-ui.com/colors","https://github.com/radix-ui/colors","https://github.com/radix-ui/colors/blob/main/README.md","https://github.com/radix-ui/colors/blob/main/LICENSE","https://raw.githubusercontent.com/radix-ui/colors/HEAD/README.md","https://www.radix-ui.com/colors/docs/palette-composition/understanding-the-scale","https://raw.githubusercontent.com/radix-ui/colors/HEAD/LICENSE"]},"selectionCheckedAt":null,"applicationGuide":{"goal":"Consistent light and dark themes with Radix Colors.","inputs":["A working CSS; JavaScript project and a specific use case: consistent light and dark themes.","A design, interface states, or dataset; target screens and accessibility requirements."],"steps":["Check the project's stack and version against the current Radix Colors documentation; add the package or the required source component.","Implement the selected workflow with the supplied data, adapting styles and states to the project.","Check the result in the target environment, remove sample data, and retain the notices required by the license."],"checks":["The example works in the chosen tech stack, including target dimensions and input errors.","Dependency size, keyboard behavior, and reduced motion suit the task; license terms are met."]},"sources":["https://www.radix-ui.com/colors","https://github.com/radix-ui/colors","https://github.com/radix-ui/colors/blob/main/README.md","https://github.com/radix-ui/colors/blob/main/LICENSE","https://raw.githubusercontent.com/radix-ui/colors/HEAD/README.md","https://www.radix-ui.com/colors/docs/palette-composition/understanding-the-scale","https://raw.githubusercontent.com/radix-ui/colors/HEAD/LICENSE"],"checkedAt":"2026-10-06","reviewScope":"Purpose, published primary source code/documentation, and license terms were reviewed. An example was not run in a local project.","relatedIds":[],"dataVersion":"cbbe7123b47a5ae80983","type":"Development library / tool","kind":"library","pricingNote":"Radix Colors code is available free of charge for local and commercial projects, subject to its license. This library does not require a paid plan. Development and hosting of the finished application are separate from the free code license.","notes":null,"labeledSources":[{"url":"https://www.radix-ui.com/colors","label":"Official website"},{"url":"https://github.com/radix-ui/colors","label":"Source code"},{"url":"https://github.com/radix-ui/colors/blob/main/README.md","label":"Documentation and use"},{"url":"https://github.com/radix-ui/colors/blob/main/LICENSE","label":"License"},{"url":"https://raw.githubusercontent.com/radix-ui/colors/HEAD/README.md","label":"Official source"},{"url":"https://www.radix-ui.com/colors/docs/palette-composition/understanding-the-scale","label":"Official source"},{"url":"https://raw.githubusercontent.com/radix-ui/colors/HEAD/LICENSE","label":"Official source"}],"licenseGuides":[{"id":"mit","title":"MIT — permissive license","scope":null,"summary":"You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.","url":"https://opensource.org/license/mit"}],"entryIds":[],"composition":null}