CLASS_COLOURSconstant
The colour of each class on a dark background: green, yellow, red, violet and grey.
Import it
import { CLASS_COLOURS } from "@johnmorrisdotca/chikyu-earth/catalogue";
Definition
const CLASS_COLOURS: Readonly<Record<OrbitClass, string>> = { leo: "#5dd6a2", meo: "#ffd166", geo: "#ef476f", heo: "#b388eb", other: "#9aa5b1" }
Members
| Name | Type | Description |
|---|---|---|
leo | string | |
meo | string | |
geo | string | |
heo | string | |
other | string |
Examples
import { CLASS_COLOURS } from "@johnmorrisdotca/chikyu-earth/catalogue";
console.log(CLASS_COLOURS.geo);#ef476fWhat it prints (run when this page was built)