To help maintain consistency accross BOINC stats sites, here are the colors used in the user project graph displays. The php function listed below uses the named colors from
jpgraph. The RGB value is listed in the comments of the function. If you have additions or changes to the list, drop us a line and let us know.
function project_color($p) {
switch ($p) {
case 'climateprediction.net': return 'springgreen4'; // (0,139,69)
case 'Predictor@Home': return 'skyblue'; // (135,206,235)
case 'SETI@home': return 'royalblue'; // (65,105,225)
case 'Einstein@Home': return 'orange'; // (255,165,0)
case 'Rosetta@home': return 'violet'; // (238,130,238)
case 'PrimeGrid': return 'seashell3'; // (205,197,191)
case 'LHC@home': return 'coral'; // (255,127,80)
case 'World Community Grid': return 'salmon'; // (250,128,114)
case 'BURP': return 'yellow1'; return 'springgreen'; // (0,255,127)
case 'SZTAKI Desktop Grid': return 'tomato3'; // (205,79,57)
case 'uFluids': return 'black'; // (0,0,0)
case 'SIMAP': return 'darkseagreen'; // (143,188,143)
case 'Folding@Home': return 'darkorchid'; //(153,50,204)
case 'MalariaControl': return 'dodgerblue'; // (30,144,255)
case 'The Lattice Project': return 'darkgreen'; // (0,100,0)
case 'Pirates@Home': return 'chartreuse'; // (127,255,0)
case 'BBC Climate Change Experiment': return 'gold3'; // (205,173,0)
case 'Leiden Classical': return 'mediumred'; // (140,34,34)
case 'SETI@home Beta': return 'cadetblue1'; // (152,245,255)
case 'RALPH@Home': return 'linen'; // (250,240,230)
case 'QMC@HOME': return 'lightgreen'; // (144,238,144)
case 'XtremLab': return 'gray5'; // (130,130,130)
case 'HashClash': return 'hotpink'; // (255,105,180)
case 'cpdn seasonal': return 'white'; // (255,255,255)
case 'Chess960@Home Alpha': return 'brown'; // (165,42,42)
case 'vtu@home': return 'red'; // (255,0,0)
case 'LHC@home alpha': return 'peru'; // (205,133,63)
case 'TANPAKU': return 'darkkhaki'; // (189,183,107)
case 'other': return 'goldenrod1'; // (255,193,37)
case 'Rectilinear Crossing Number': return 'cadetblue4'; // (83,134,139)
case 'Nano-Hive@Home': return 'honeydew'; // (193,205,193)
case 'Spinhenge@home': return 'lavenderblush'; // (255,240,245)
case 'RieselSieve': return 'bisque3'; // (205,183,158)
case 'Project Neuron': return 'hotpink4'; // (139,58,98)
case 'RenderFarm@Home': return 'chocolate'; // (210,105,30)
case 'Docking@Home': return 'lightblue2'; // (178,223,238)
case 'proteins@home': return 'blue'; // (0,0,255)
case 'DepSpid': return 'tan4'; // (139,90,43)
case 'ABC@home': return 'burlywood'; // (222,184,135)
case 'BOINC alpha test': return 'beige'; // (245,245,220)
case 'WEP-M+2': return 'mediumspringgreen'; // (0,250,154)
case 'Zivis Superordenador Ciudadano': return 'AntiqueWhite1'; // (255,239,219)
case 'SciLINC': return 'aliceblue'; // (240,248,255)
case 'APS@Home': return 'coral3'; // (205,91,69)
case 'PS3GRID': return 'darkcyan'; // (i0,139,139)
case 'Superlink@Technion': return 'darkolivegreen1'; // (202,255,112)
case 'BRaTS@Home': return 'indianred1'; // (255,106,106)
case 'Cosmology@Home': return 'khaki'; // (240,230,140)
case 'SHA 1 Collision Search': return 'lemonchiffon'; // (255,250,205)
}
echo "Cant find color for $p->name\n";
exit();
}