How It Works
Color Palettes automatically apply brand colors to your visualizations when protocols or chains are detected in your query results. No manual configuration needed - just write your query and the colors match automatically.Colors are matched against protocol names and aliases in a case-insensitive manner, making it easy to get consistent colors regardless of how you format your data.
Matching Rules
The automatic matching system looks for protocol names in your query results and compares them against the aliases defined in the color palette schema.What Matches
Given the following schema:1
Exact lowercase match
eth - Direct match to alias2
Case-insensitive match
Eth, ETH, EtH - All variations match3
Mixed case match
WeTh, WETH, weth - Alias matching is case-insensitive4
Special EVM syntax
evm_\<color:eth\> - Allows appending other data while preserving color matchingWhat Doesn’t Match
ethereum- Not in the aliases list (only “eth” and “weth” are)evm<clor:eth>- Typo in the special syntax (missing underscore)color:eth- Missing theevm_prefix- Partial matches like
ethereum_mainnet(unless specifically aliased)
The evm_<color:*> Pattern
This is particularly useful when you need to:- Add version numbers or chain identifiers
- Include additional context in labels
- Maintain consistent colors across complex queries
Example Usage
- Match colors based on the blockchain name within the color tag
- Display as “evm_<color:ethereum> v2”, “evm_<color:polygon> v2”, etc.
- Apply the correct brand colors automatically
Real-World Examples
Chain Comparison Dashboard
Protocol Market Share
Uniswap (#F50DB4), 1inch (#0077FF), and others will automatically receive their brand colors.
Case Sensitivity
All matching is case-insensitive, so you don’t need to worry about capitalization in your query results.
Examples
All of these will match the same color:Common Use Cases
DEX Volume Analysis
When analyzing DEX volumes, protocols are automatically colored:- Uniswap: #F50DB4 (bright pink)
- 1inch: #0077FF (blue)
- NFT marketplaces like OpenSea (#2884E4), Blur (#FF8404), LooksRare (#10E464)
Blockchain Comparison
When comparing chains, each automatically gets its brand color:- Ethereum: #88AAF1 (slate blue)
- Polygon: #8A46FF (purple)
- Arbitrum: #12AAFF (light blue)
- Optimism: #FF0420 (red)
- Base: #0052FF (blue)
- BNB: #F3BA2F (yellow)
- Solana: #14F195 (green)
- Avalanche: #E84142 (red)
Stablecoin Analysis
Stablecoins also have standardized colors:- USDT: #26A17B (green)
- USDC: #2775CA (blue)
- DAI: #F2B705 (yellow/gold)
- USDe: #6F3FF5 (purple)
- USDS: #00A6D6 (cyan)
Performance Benefits
Benefits:- No manual work: Colors apply automatically based on your data
- Consistency: Same protocol always gets the same color across all visualizations
- Time savings: No need to configure colors for each chart
- Community standards: Leverages community-maintained brand colors
Next Steps
Customization
Learn how to override and restore colors
Query Examples
Explore real-world query patterns