Coloreminder home /

#2a2a2a hex color

Palette My palette (0)    color name140 colors & names   Html & Css   Color Schemes   Bar chart   Image  
 GENERATE

#2a2a2a hex color contains 16.47% of Red  16.47% of Green  16.47% of Blue. The Rgb value for #2a2a2a is (42,42,42).  Its web safe color is #333333 (#333)
The CMYK color model (used in color printing) for #2a2a2a is 0% Cyan 0% Magenta 0% Yellow 84% Black. The lightness is equal to 16%, the value of saturation is 0% and it has a hue angle of .

HEXADECIMAL #2a2a2aclipboard RGB 42,42,42 rgb color
HSL 0,0,0.16 (0°,0%,16%) CMYK 0,0,0,84 cmyk color
HSV 0°,0°,16° CIE-LAB 17.062,0.001,-0.003
XYZ 2.201,2.315,2.521 DECIMAL 2763306
HUE SATURATION LIGHTNESS
color icon
16% clipboard
42,42,42
20% clipboard
51,51,51
30% clipboard
77,77,77
40% clipboard
102,102,102
50% clipboard
128,128,128
60% clipboard
153,153,153
70% clipboard
179,179,179
80% clipboard
204,204,204
90% clipboard
230,230,230

Color variation of #2a2a2a

16% clipboard
42,42,42

Color schemes of #2a2a2a

 
 

Monochromatic colors

clipboard
4,4,4
clipboard
17,17,17
clipboard
29,29,29
clipboard
42,42,42
clipboard
55,55,55
clipboard
68,68,68
clipboard
80,80,80
 

#2a2a2a others options

Invert color

clipboard
42,42,42
clipboard
213,213,213
 
 

Web Safe color

clipboard
42,42,42
clipboard
51,51,51
rgb RGB bar chart of #2a2a2a
rgb Cyan Magenta Yellow Black bar chart of #2a2a2a
HTML & CSS EXAMPLES
EXAMPLES WITH HEXADECIMAL value : #2a2a2a
Text with hexadecimal color : #2a2a2a in <span> element
<span style="color:#2a2a2a;">Lorem ipsum dolor sit amet, consectetur adipiscing.</span>
Lorem ipsum dolor sit amet, consectetur adipiscing
A text and a border color : #2a2a2a
<div style="color:#2a2a2a;width:300px;height:50px;border:2px solid #2a2a2a;">Lorem ipsum dolor sit amet, consectetur adipiscing</div>
Lorem ipsum dolor sit amet, consectetur adipiscing
A rectangle with a background color #2a2a2a
<div style="background-color:#2a2a2a;width:300px;height:100px;"></div>
Code to create a css class and display #2a2a2a text color
<html>
<head>
<style type="text/css">.example{ color:#2a2a2a;} </style>
</head>
<body>
<span class="example">Lorem ipsum dolor sit amet, consectetur adipiscing</span>
</body>
</html>
Lorem ipsum dolor sit amet, consectetur adipiscing
Here is a box-shadow added to a <div> element
css3
<html>
<head>
<style type="text/css">
.example{ width: 300px; height: 100px;box-shadow: 5px 5px 3px #2a2a2a;background-color: #ffffff; }
</style>
</head>
<body>
<div class="example"></div>
</body>
</html>
EXAMPLES WITH RGB value : 42,42,42
A text with rgb color values as color code
<div style="color:rgb(42,42,42);">Lorem ipsum dolor sit amet, consectetur adipiscing</div>
Lorem ipsum dolor sit amet, consectetur adipiscing
A text with rgb and opacity 0.5, Range for opacity (0 -> 1)
css3
<div style="color:rgba(42,42,42,0.5);">Lorem ipsum dolor sit amet, consectetur adipiscing</div>
Lorem ipsum dolor sit amet, consectetur adipiscing
Rectangle with rgb bakground color
<div style="background-color:rgb(42,42,42);width:300px;height:100px;"></div>

#2a2a2a color got : 16.47% of Red 16.47% of Green 16.47% of Blue that could be written like this
<div style="color:rgb(16.47%,16.47%,16.47%);">Lorem ipsum dolor sit amet, consectetur adipiscing</div>
Lorem ipsum dolor sit amet, consectetur adipiscing
EXAMPLES WITH HSL : 0,0%,16% and HSLA : 0,0%,16%,opacity
A text with hsl & hsla values. Opacity range : 0,1
css3
<html>
<head>
<style type="text/css">
.example{ color:hsl(0,0%,16%); }
.example_opacity{ color:hsla(0,0%,16%,0.5); }
</style>
</head>
<body>
<span class="example">Lorem ipsum dolor sit amet, consectetur adipiscing</span>
<span class="example_opacity">Lorem ipsum dolor sit amet, consectetur adipiscing</span>
</body>
</html>
Lorem ipsum dolor sit amet, consectetur adipiscing
Lorem ipsum dolor sit amet, consectetur adipiscing

More information about hsla can be found here
#2a2a2a IMAGE GENERATOR


Width : pixels Height : pixels
save SAVE IMAGE #2a2a2a
This generator will generate an image with a background color #2a2a2a that you can save to your computer. Just choose Width and Height of image.
Back to top of page