Gray has the hex code #808080. The equivalent RGB values are (128, 128, 128), which means it is composed of 33% red, 33% green and 33% blue. The CMYK color codes, used in printers, are C:0 M:0 Y:0 K:50. In the HSV/HSB scale, Gray has a hue of 359°, 0% saturation and a brightness value of 50%. Details of other color codes including equivalent web safe and HTML & CSS colors are given in the table below. Also listed are the closest Pantone® (PMS) and RAL colors.
On the RGB wheel, the color Gray is the exactly halfway between black (#000000) and white (#FFFFFF) with hex code #808080. Since it is a web color, you can use it in HTML and CSS code with its name, "Gray" or "Grey", in addition to the hex, RGB, CMYK and HSB values.
Important note #1: Even though the web colors list is derived from the X11 colors list, the two aren't the same. In fact, several colors in the two lists are markedly different. A case in point is gray. The hexadecimal code of web gray is #808080 while that from the X11 list is #BEBEBE - the latter is significantly lighter.
Important note #2: To complicate things further, this Gray color from the web colors list is actually darker than the Dark Gray from the same list. Be careful when using these colors by name.
Gray is almost gray. We don't think there is any need to display the color palettes.
The complement of Gray is Gray (HTML/CSS Gray) with the hex code #808080. Complementary colors are those found at the opposite ends of the color wheel. Thus, as per the RGB system, the best contrast to #808080 color is offered by #808080. The complementary color palette is easiest to use and work with. Studies have shown that contrasting color palette is the best way to grab a viewer's attention.
The analogous colors of Gray (#808080) are Gray (HTML/CSS Gray) (#808080) and Gray (HTML/CSS Gray) (#808080). In the RGB color wheel, these two analogous colors occur to the right and left of Gray with a 30° separation on either side. An analogous color palette is extremely soothing to the eyes and works wonders if your main color is soft or pastel.
As per the RGB color wheel, the split-complementary colors of Gray (#808080) are #808080 (Gray (HTML/CSS Gray)) and #808080 (Gray (HTML/CSS Gray)). A split-complementary color palette consists of the main color along with those on either side (30°) of the complementary color. Based on our research, usage of split-complementary palettes is on the rise online, especially in graphics and web sites designs. It may be because it is not as contrasting as the complementary color palette and, hence, results in a combination which is pleasant to the eyes.
Gray triadic color palette has three colors each of which is separated by 120° in the RGB wheel. Thus, #808080 (Gray (HTML/CSS Gray)) and #808080 (Gray (HTML/CSS Gray)) along with #808080 create a stunning and beautiful triadic palette with the maximum variation in hue and, therefore, offering the best possible contrast when taken together.
The tetradic palette of Gray has four colors - #808080 (Gray (HTML/CSS Gray)), #808080 (Gray (HTML/CSS Gray)) and #808080 (Gray (HTML/CSS Gray)) in addition to the base color (#808080). A tetradic color palette is complex and, in most cases, should not be used off-the-shelf. We suggest tweaking the colors slightly to achieve desired results.
Gray square color palette has #808080 (Gray (HTML/CSS Gray)), #808080 (Gray (HTML/CSS Gray)) and #808080 (Gray (HTML/CSS Gray)). Quite like triadic, the hues in a square palette are at the maximum distance from each other, which is 90°. Note: For several colors purposes, a square palette may look much better than the tetrad color palette.
Gray Color Rainbow Palette
Our Gray rainbow color palette is based on the RGB model and consists of 7 colors, just like the traditional rainbow. You might not see a lot of variation in color, especially if the chosen color is dark or extremely light. However, this can lead interesting rainbow palettes that are faded, soft, pastel or dull.