Published
Edited
Mar 25, 2021
1 fork
Importers
1 star
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
getColor = name =>
colors.find(color => color.name.toLowerCase() === name.toLowerCase()).hex
Insert cell
Insert cell
picker = label => Select(hexValues, { label: label || "Color" })
Insert cell
getRisoHex = hex => hex.split('-')[1]
Insert cell
hexValues = colors.map(({ name, hex }) => `${name}-${hex}`)
Insert cell
Insert cell
Insert cell
// Taken from: https://observablehq.com/@mattdzugan/open-color
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more