blob: 735ca5de0462332e90ef3a53a4f0f7b146c01a60 (
plain) (
blame)
1
2
3
4
5
6
|
export const colorCode = color => COLORS.indexOf(color);
export const COLORS = [
"black", "brown", "red", "orange", "yellow", "green", "blue",
"violet", "grey", "white",
];
|