Interface CSSColor


public interface CSSColor
A CSS color string applied to a specific HTML element on this page. Any format accepted by modern browsers is supported:
  • A keyword color, "white"
  • Hex notation: "#ffffff", "#fff", "#ffffffcc" (with alpha)
  • RGB: "rgb(255, 255, 255)", "rgb(100%, 100%, 100%)"
  • RGBA: "rgba(255, 255, 255, 0.8)"
  • HSL: "hsl(0, 100%, 50%)"
  • HSLA: "hsla(0, 100%, 50%, 0.8)"
  • Oklch: "oklch(62.8% 0.26 29.2)"

All framework color math (such as hover highlighting in FacetCharts and color muting) uses isc.Colors, which accepts any of the above formats.