color-schemes — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited color-schemes (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Built-in color palettes and the ColorSchemeType system used by all chart series.
import { schemes } from 'reaviz';All colorScheme props across reaviz accept one of three forms:
type ColorSchemeType =
| string // Named scheme or single color
| string[] // Array of colors
| (data, index, active?) => string; // Function returning a color| Name | Colors | Description |
|---|---|---|
'cybertron' | 8 colors | Blue-to-green gradient (default for most charts) |
'unifyviz' | 12 colors | Full Unify design system palette |
'unifyvizwarm' | 3 colors | Warm subset (yellow, orange, red) |
'unify8Colors' | 8 colors | Blue-to-green Unify variant |
All chroma.brewer schemes are available by name:
Sequential: Blues, Greens, Greys, Oranges, Purples, Reds, BuGn, BuPu, GnBu, OrRd, PuBu, PuBuGn, PuRd, RdPu, YlGn, YlGnBu, YlOrBr, YlOrRd
Diverging: BrBG, PiYG, PRGn, RdBu, RdGy, RdYlBu, RdYlGn, Spectral
Categorical: Accent, Dark2, Paired, Pastel1, Pastel2, Set1, Set2, Set3
<AreaSeries colorScheme="cybertron" />
<BarSeries colorScheme="Spectral" />
<HeatmapSeries colorScheme="OrRd" /><BarSeries colorScheme="rgb(45, 96, 232)" />
<BarSeries colorScheme={schemes.cybertron[0]} /><AreaSeries colorScheme={['#FF5722', '#2196F3', '#4CAF50']} />// By index
<AreaSeries colorScheme={(_data, index) => index % 2 ? 'blue' : 'green'} />
// By data value
<ScatterPoint color={(d) => d.metadata?.severity > 5 ? 'red' : 'blue'} />import { schemes } from 'reaviz';
// Use first color from cybertron
const primaryColor = schemes.cybertron[0]; // '#2d60e8'
// Use in legend
<DiscreteLegendEntry color={schemes.cybertron[0]} label="Series A" />
<DiscreteLegendEntry color={schemes.cybertron[1]} label="Series B" />'cybertron' is the default color scheme for most chart serieschroma.brewer — case-sensitive names['#low', '#high'](data, index, activeValues?) and return a CSS color string~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.