Replaced color codes with hexa values.

This commit is contained in:
Christian P. MOMON 2021-01-15 03:34:02 +01:00
parent b2be90a946
commit 3a8103bcfa

View file

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2020 Christian Pierre MOMON <christian@momon.org> * Copyright (C) 2020-2021 Christian Pierre MOMON <christian@momon.org>
* *
* This file is part of StatoolInfos, simple service statistics tool. * This file is part of StatoolInfos, simple service statistics tool.
* *
@ -24,14 +24,14 @@ package fr.devinsy.statoolinfos.htmlize.charts;
public enum ChartColor public enum ChartColor
{ {
// https://html-color-codes.info/ // https://html-color-codes.info/
RED("rgb(255, 99, 132)"), RED("#ff6384"),
ORANGE("rgb(255, 159, 64)"), ORANGE("#ff9f40"),
YELLOW("rgb(255, 205, 86)"), YELLOW("#ffcd56"),
GREEN("rgb(75, 192, 192)"), GREEN("#4bc0c0"),
CYAN("rgb(00, 255, 255)"), CYAN("#00ffff"),
BLUE("rgb(54, 162, 235)"), BLUE("#36a2eb"),
PURPLE("rgb(153, 102, 255)"), PURPLE("#9966ff"),
GREY("rgb(201, 203, 207)"); GREY("#c9cbcf");
private String code; private String code;
private String light; private String light;