Skip to main content

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.
Copy these queries and modify them for your own analytics. Colors will automatically apply based on the protocols and chains in your results.

Blockchain Analytics

Cross-Chain DEX Volume Comparison

Compare DEX trading volumes across multiple blockchains:
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)
Sample Output:
  • 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:
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:
The evm color syntax ensures all versions match to Uniswap’s brand color (#F50DB4) even though the labels include version numbers.

Multi-Chain Protocol Analysis

Compare the same protocol across different chains:

Advanced Analytics

Liquid Staking Provider Comparison

Compare ETH staking volumes across providers:
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)
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
Each provider automatically gets their brand color, making the visualization immediately recognizable.

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

Monitor deposits to major exchanges:

Protocol Category Analysis

DeFi Category Breakdown

Analyze activity by protocol category:
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:
Perfect for a line chart showing weekly new user growth. Uniswap (#F50DB4) and 1inch (#0077FF) lines will be automatically colored.

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

Result: Each blockchain gets its official brand color

Pattern 2: Protocol Comparison

Result: Each protocol gets its brand color from the palettes

Pattern 3: Time Series by Entity

Result: Multi-line chart with each entity colored by its brand

Pattern 4: Category Analysis

Result: Generic categories get standardized colors from the palette

Next Steps

Automatic Application

Learn how automatic color matching works

Customization

Override and restore colors as needed