Lines Matching defs:grey
50 * grey, and use the nearest of the two.
62 int grey_avg, grey_idx, grey;
73 /* Work out the closest grey (average of RGB). */
79 grey = 8 + (10 * grey_idx);
81 /* Is grey or 6x6x6 colour closest? */
83 if (colour_dist_sq(grey, grey, grey, r, g, b) < d)
710 { "dark grey", 0xa9a9a9 },
721 { "dark slate grey", 0x2f4f4f },
727 { "dim grey", 0x696969 },
784 { "light grey", 0xd3d3d3 },
791 { "light slate grey", 0x778899 },
890 { "slate grey", 0x708090 },
923 { "web grey", 0x808080 },
935 { "x11 grey", 0xbebebe },
949 if (strncmp(name, "grey", 4) == 0 || strncmp(name, "gray", 4) == 0) {