Export Formats Guide
Learn how to export your color palettes in 7 different formats for any project or platform
Available Export Formats
JSON
Structured data
CSS Variables
Custom properties
Tailwind
Config colors
SCSS
Sass variables
Web Development Formats
Best for:
- • API responses and data storage
- • Configuration files
- • JavaScript applications
- • Design system documentation
Includes color names, HEX values, RGB, and HSL data in a structured format.
Example Output:
{
"colors": [
{
"name": "primary",
"hex": "#3B82F6",
"rgb": { "r": 59, "g": 130, "b": 246 },
"hsl": { "h": 217, "s": 91, "l": 60 }
},
{
"name": "secondary",
"hex": "#10B981",
"rgb": { "r": 16, "g": 185, "b": 129 },
"hsl": { "h": 160, "s": 84, "l": 39 }
}
]
}Best for:
- • Modern CSS projects
- • Theme switching (light/dark mode)
- • Dynamic color changes
- • Component libraries
Creates reusable CSS variables that can be used throughout your stylesheets.
Example Output:
:root {
--color-primary: #3B82F6;
--color-secondary: #10B981;
--color-accent: #F59E0B;
--color-neutral: #6B7280;
}
/* Usage */
.button {
background: var(--color-primary);
color: white;
}Best for:
- • Tailwind CSS projects
- • Utility-first CSS workflows
- • React, Vue, or Angular apps
- • Design system tokens
Ready-to-use Tailwind configuration that extends the default color palette.
Example Output:
// tailwind.config.js
module.exports = {
theme: {
extend: {
colors: {
'brand-primary': '#3B82F6',
'brand-secondary': '#10B981',
'brand-accent': '#F59E0B',
'brand-neutral': '#6B7280'
}
}
}
}
/* Use like: bg-brand-primary */Best for:
- • Sass/SCSS projects
- • Legacy CSS preprocessor workflows
- • Bootstrap customization
- • Large-scale CSS architectures
Traditional Sass variables with optional color functions and mixins.
Example Output:
// _colors.scss
$color-primary: #3B82F6;
$color-secondary: #10B981;
$color-accent: #F59E0B;
$color-neutral: #6B7280;
// Usage
.button {
background-color: $color-primary;
border: 1px solid darken($color-primary, 10%);
}Best for:
- • Styled Components
- • Emotion
- • React Native
- • JavaScript-based styling
JavaScript object format compatible with most CSS-in-JS libraries.
Example Output:
// colors.js
export const colors = {
primary: '#3B82F6',
secondary: '#10B981',
accent: '#F59E0B',
neutral: '#6B7280'
}
// Usage with Styled Components
const Button = styled.button`
background: ${colors.primary};
`Mobile Development Formats
Best for:
- • Android app development
- • Material Design themes
- • Kotlin/Java projects
- • Android Studio integration
XML color resources ready for your Android res/values/colors.xml file.
Example Output:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="colorPrimary">#3B82F6</color>
<color name="colorSecondary">#10B981</color>
<color name="colorAccent">#F59E0B</color>
<color name="colorNeutral">#6B7280</color>
</resources>
<!-- Usage in layouts -->
android:background="@color/colorPrimary"Best for:
- • iOS app development
- • Swift/SwiftUI projects
- • Xcode color assets
- • UIKit color definitions
Swift color definitions using UIColor and Color (SwiftUI) with proper RGB values.
Example Output:
// Colors.swift
import UIKit
import SwiftUI
extension UIColor {
static let brandPrimary = UIColor(red: 59/255, green: 130/255, blue: 246/255, alpha: 1.0)
static let brandSecondary = UIColor(red: 16/255, green: 185/255, blue: 129/255, alpha: 1.0)
}
extension Color {
static let brandPrimary = Color(.brandPrimary)
}How to Export Your Palette
Quick Export Process:
- 1Create or load your color palette
- 2Click the export button (or press Ctrl+E)
- 3Choose your desired format
- 4Customize naming and options
- 5Copy to clipboard or download as file
Customization Options:
- Custom color naming prefixes
- Include/exclude comments
- Choose color format (HEX/RGB/HSL)
- Minified or formatted output
Integration Examples
// 1. Add to tailwind.config.js
colors: {
'brand': '#3B82F6',
'success': '#10B981'
}
// 2. Use in components
<button className="bg-brand text-white">
Click me
</button>/* 1. Add to global CSS */
:root {
--brand-primary: #3B82F6;
}
/* 2. Use in components */
.button {
background: var(--brand-primary);
}Ready to Export Your Colors?
Choose from 7 different formats to seamlessly integrate your color palettes into any project or platform.
Need help with a specific format? Check our troubleshooting guide or start with the basics.