Color examples

Basic dynamic color

Data

data = {
  color: "#FF0000", // red
  color2: "#00FF00", // green
  color3: "#0000FF" // blue
};
  • Manage: get #00FFFF reference color, to be replaced by #FF0000 coming from the {d.color} marker

  • dynamic: get #FF00FF reference color, to be replaced by #00FF00 coming from the {d.color2} marker

  • color: get #0000FF reference color in the background, to be replaced by #00FF00 coming from the {d.color3} marker

Last updated