# PiYG

Canonical URL: https://colorcurio.us/colormaps/colorbrewer.PiYG
Source type: Colormap
Type: diverging
Collection: colorbrewer
Attribution: Cynthia Brewer & Mark Harrower, ColorBrewer 2.0
License: Apache-2.0
Source: https://colorbrewer2.org/
Tags: diverging, colorbrewer, pink-green
Stops: 256

## Summary

PiYG is a diverging colormap from colorbrewer. Two arms meet at a pivot of lightness 0.98, hue sweeps 158° from rose to green, and order holds under all three colorblind simulations.

ColorBrewer 2.0 diverging 'PiYG' (11-class anchors).

## Perceptual profile (OKLCh)

- Lightness: 0.423 → 0.447 (range 0.553, min 0.423, max 0.976); non-monotonic; midpoint 0.975
- Chroma: min 0.001, max 0.212, mean 0.113
- Hue: 355.3° → 140.3° (span 158.4°), path monotonic-cw; quadrants: rose, green
- Pivot: t 0.502, lightness 0.976, hue jump 140.1°, smoothness 0.763
- Endpoint temperature: warm → warm
- Perceptual ΔE: total 144.1, mean/step 0.565, max step 0.888, smoothness 0.817, speed 0.565

## Colorblind safety (ΔE under simulated CVD)

- Protanopia: ΔE total 132.0; preserves order: yes
- Deuteranopia: ΔE total 119.8; preserves order: yes
- Tritanopia: ΔE total 130.2; preserves order: yes

## Related

- Family: [colorbrewer](https://colorcurio.us/colormaps/families/colorbrewer)
- Source: [Cynthia Brewer & Mark Harrower, ColorBrewer 2.0](https://colorbrewer2.org/)
- Similar diverging maps: [BrBG](https://colorcurio.us/colormaps/colorbrewer.BrBG), [PRGn](https://colorcurio.us/colormaps/colorbrewer.PRGn), [PuOr](https://colorcurio.us/colormaps/colorbrewer.PuOr), [RdBu](https://colorcurio.us/colormaps/colorbrewer.RdBu), [RdGy](https://colorcurio.us/colormaps/colorbrewer.RdGy), [RdYlBu](https://colorcurio.us/colormaps/colorbrewer.RdYlBu), [RdYlGn](https://colorcurio.us/colormaps/colorbrewer.RdYlGn), [Spectral](https://colorcurio.us/colormaps/colorbrewer.Spectral)
- [All colormaps](https://colorcurio.us/colormaps)
