private String getColor(int color) {
        String col = Integer.toHexString(color);
        while (col.length() < 6) col = "0" + col;
        return col;
    }
Helper class in order to write HTML tables
clustercontroller-core/src/main/java/com/yahoo/vespa/clustercontroller/core/status/statuspage/HtmlTable.java