Overview
This page provides practical examples of Dune queries that leverage Color Palettes for automatic, consistent visualization coloring. Each example includes the query, expected output, and the automatic colors that will be applied.Blockchain Analytics
Cross-Chain DEX Volume Comparison
Compare DEX trading volumes across multiple blockchains:Expected Output & Colors
Expected Output & Colors
Automatic Colors Applied:
- Ethereum: #88AAF1 (slate blue)
- Base: #0052FF (blue)
- Arbitrum: #12AAFF (light blue)
- Optimism: #FF0420 (red)
- Polygon: #8A46FF (purple)
- BNB: #F3BA2F (yellow)
- Solana: #14F195 (green)
- Avalanche: #E84142 (red)
Visualization Tips
Visualization Tips
- Best chart type: Bar chart or pie chart
- Why it works: Each blockchain gets its official brand color automatically
- Customization idea: Override top 3 chains with gradient variations to emphasize leaders
Layer 2 Scaling Solutions Growth
Track daily transaction counts across L2 solutions:Protocol Analytics
NFT Marketplace Market Share
Analyze trading volume across major NFT marketplaces:Automatic Colors Applied:
- OpenSea: #2884E4 (blue)
- Blur: #FF8404 (orange)
- LooksRare: #10E464 (green)
- X2Y2: #14DBFC (cyan)
- MagicEden: #BF79F5 (purple)
- Rarible: #FFDC04 (yellow)
- SuperRare: #000000 (black)
- Foundation: #080404 (dark)
DEX Protocol Comparison
Compare trading activity across decentralized exchanges:Uniswap
Color: #F50DB4 (bright pink)Aliases: uniswap, uni
1inch
Color: #0077FF (blue)Aliases: 1inch, oneinch, inch
Stablecoin Analytics
Stablecoin Market Dominance
Track total supply and market share of major stablecoins:Automatic Stablecoin Colors
Automatic Stablecoin Colors
Query Variations
Query Variations
Track over time:Cross-chain comparison:
Stablecoin Transfer Volumes
Analyze daily transfer volumes for top stablecoins:Note that symbols are lowercase in this query (
usdt, usdc), but Color Palettes will still match them correctly because matching is case-insensitive.Using the evm_<color:*> Syntax
Protocol Versions with Color Matching
Track different versions of the same protocol while maintaining brand colors:Multi-Chain Protocol Analysis
Compare the same protocol across different chains:Advanced Analytics
Liquid Staking Provider Comparison
Compare ETH staking volumes across providers:Provider Colors
Provider Colors
Automatic Colors:
- Lido: #4DB0F2 (light blue)
- RocketPool: #FB8562 (orange)
- FraxFinance: #080404 (black)
- Coinbase: #0854FC (blue)
- Swell: #2040CD (deep blue)
- etherfi: #2F1769 (dark purple)
- Renzo: #C5FE5B (lime green)
Analysis Tips
Analysis Tips
This query is perfect for:
- Pie chart: Show market share by provider
- Bar chart: Compare total staked amounts
- Time series: Track growth trends over time
Bridge Volume Analysis
Track cross-chain bridge volumes:Visualization: Use a Sankey diagram or grouped bar chart. Each chain gets its brand color:
- Ethereum → Arbitrum: #88AAF1 → #12AAFF
- Ethereum → Base: #88AAF1 → #0052FF
- Polygon → Ethereum: #8A46FF → #88AAF1
Exchange Analytics
Centralized Exchange Deposit Trends
Monitor deposits to major exchanges:Protocol Category Analysis
DeFi Category Breakdown
Analyze activity by protocol category:Category Colors
Category Colors
When your data includes generic categories, Color Palettes has you covered:
Time-Series Analysis
Protocol Adoption Over Time
Track new user adoption for top protocols:Best Practices
1
Use consistent naming
Reference protocols and chains using their canonical names or aliases from the Color Palettes schema for automatic color matching.
2
Leverage case-insensitivity
Don’t worry about capitalization -
ethereum, Ethereum, and ETHEREUM all match the same color.3
Use special syntax for complex labels
When you need to append version numbers, chain names, or other context to labels, use the special evm color syntax to maintain color matching.
4
Filter for known protocols
When possible, filter your queries to include only protocols/chains in the Color Palettes schema to ensure all results get colored.
5
Order by significance
Order your results by volume, transaction count, or other metrics to put the most important (and colorful) data at the top of your visualizations.
Common Patterns
Pattern 1: Chain Aggregation
Pattern 2: Protocol Comparison
Pattern 3: Time Series by Entity
Pattern 4: Category Analysis
Next Steps
Automatic Application
Learn how automatic color matching works
Customization
Override and restore colors as needed