HTML color codes for light gray - hexadecimal + RGB
Discover all HTML codes for the color light gray - hexadecimal, rgb, hsl, hsv, and cmyk, as well as different combinations, schemes, temperatures, hues, and types of light gray color.
#D3D3D3
Complementary color of light gray:
The complementary color of a color is the opposite of it on the color wheel (chromatic circle)
#d3d3d3
Monochromatic scheme of the color light gray
This scheme is based on the color light gray and is composed of different hues, tones, and shades, both dark and light.
HTML and CSS codes for the color light gray
format | code |
---|---|
hex | #d3d3d3 |
rgb | rgb(211,211,211) |
hsl | hsl(0,0%,83%) |
cmyk | cmyk(0, 0, 0, 18) |
hsv | hsv(0, 0%, 83%) |
What is the light gray color in RGB format?
The light gray color in RGB format is composed of (211 in the red channel), (211 in the green channel), and (211 in the blue channel).
What is the light gray color in CMYK format?
It is composed of (0%) cyan, (0%) magenta, (0%) yellow, and (18%) black / key.
What is the composition of the light gray color in HSL?
It is composed of (NaN°) hue, (0%) saturation, and (83%) lightness.
What is the light gray color in HSV format?
The light gray color in HSV format is composed of (NaN°) hue, (0%) saturation, and (83%) value.
Analogous scheme of the color light gray
Analogous colors are obtained from the two closest colors within the color wheel.
Triadic scheme of the color light gray
The triadic scheme is obtained from 3 colors equally spaced from each other within the color wheel
Tetradic scheme of the color light gray
This color scheme is obtained by using two pairs of opposing colors on the color wheel in a rectangular shape.
Split complementary scheme of the color light gray
This color scheme is obtained by using two pairs of opposing colors on the color wheel in a rectangular shape.
Tints of the color light gray
Tints are obtained from the base color light gray up to reaching white, finding in between shades of pastel colors.
Shades of the color light gray
These shades are obtained from the base color light gray up to reaching black.
Check the contrast of the color light gray.
You can now validate the contrast relationship of the color light gray, whether using it as a background color or as a text color.
Contrast ratio test of the color light gray as a background
Contrast ratio test of the color light gray as text.
How to implement the color light gray in HTML and CSS
Here are examples of code to use the light gray on your web page. Remember that you can implement the color in HTML using color codes such as hexadecimal, RGB, or HSL, and also directly with the color name written in English (as long as it is natively supported by HTML).
Background color light gray in HTML - CSS.
To set the background color, you can use inline styles or apply them in a CSS stylesheet
<div style="background:#D3D3D3;"> Color light gray as the background of a div.</div>
/* Color light gray as the background of the body tag with CSS. */body {background: #D3D3D3;}
To set the text color light gray in HTML - CSS.
To set the text color, you can use inline styles or apply them in a CSS stylesheet.
<p style="color:#D3D3D3;"> Color light gray as the text color.</p>
p {color:#D3D3D3 ;}