Color2Code
Export color variables into iOS & Android code format or Xcode Color Assets
Plugin Preview
About this plugin
This plugin exports color variables into iOS & Android code format and also exports as Xcode Color Assets.Features------------------------------------------Exports iOS code formatExports Xcode Color assetsExports Android code format (Compose & XML)Supports variable mode (Light/Dark & High Contrast modes)Customize exported variable nameWorks in Dev Mode⚠️ Important Note------------------------------------------Before exporting color assets;You should rename your modes' names to "Light" and "Dark."The names for the high contrast modes should be "Light High Contrast" and "Dark High Contrast."Variableprimary-color: #18B968;Output for iOSlet primaryColor: UIColor = UIColor(UIColor(red: 24, green: 185, blue: 104))Output for Android Composeval primaryColor = Color(0xff18b968)Output for Android XML
Plugin Details
| Version | 10 |
|---|---|
| Created | July 17, 2023 |
| Last Updated | October 21, 2025 |
| Category | Software development |
| Creator | Burak |
| Stats | 386 installs, 61 likes |
| Pricing | Free |
Technical Details
- API:1.0.0
- UI:dist/ui.html
- main:dist/code.js
- Document Access:dynamic-page
- Editor Types:figma
- Allowed Domains:
- none
More Like This
Discover other plugins in the Software development category.
Builder.io - Figma to Code & AI Apps (React, Vue, Tailwind, etc)
Export designs to clean, responsive code or turn Figma screens into AI apps and prototypes.
Code Snippet Editor
Translate component variants, properties, and more into dynamic code snippets for your design system
GitHub
Connect Design to Code