Coloreminder home /

#402640 hex color

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

#402640 hex color contains 25.1% of Red  14.9% of Green  25.1% of Blue. The Rgb value for #402640 is (64,38,64).  Its web safe color is #333333 (#333)
The CMYK color model (used in color printing) for #402640 is 0% Cyan 41% Magenta 0% Yellow 75% Black. The lightness is equal to 20%, the value of saturation is 25% and it has a hue angle of 300°.

HEXADECIMAL #402640clipboard RGB 64,38,64 rgb color
HSL 0.83,0.25,0.2 (300°,25%,20%) CMYK 0,41,0,75 cmyk color
HSV 300°,41°,25° CIE-LAB 19.418,17.294,-11.512
XYZ 3.733,2.846,5.203 DECIMAL 4204096
HUE SATURATION LIGHTNESS
color icon
10% clipboard
32,19,32
20% clipboard
64,38,64
30% clipboard
96,57,96
40% clipboard
128,76,128
50% clipboard
160,95,160
60% clipboard
179,127,179
70% clipboard
198,159,198
80% clipboard
217,191,217
90% clipboard
236,223,236

Color variation of #402640

20% clipboard
64,38,64

Color schemes of #402640

Complementary color

clipboard
64,38,64
clipboard
38,64,38
 

Analogous colors

clipboard
51,38,64
clipboard
64,38,64
clipboard
64,38,51
 

Triadic colors

clipboard
38,64,64
clipboard
64,38,64
clipboard
64,64,64

Monochromatic colors

clipboard
0,0,0
clipboard
16,10,16
clipboard
32,19,32
clipboard
48,29,48
clipboard
64,38,64
clipboard
80,48,80
clipboard
96,57,96
clipboard
112,67,112
 

#402640 others options

Invert color

clipboard
64,38,64
clipboard
191,217,191
 

Grayscale color

palette
64,38,64
clipboard
48,48,48
 

Web Safe color

clipboard
64,38,64
clipboard
51,51,51
rgb RGB bar chart of #402640
rgb Cyan Magenta Yellow Black bar chart of #402640
HTML & CSS EXAMPLES
EXAMPLES WITH HEXADECIMAL value : #402640
Text with hexadecimal color : #402640 in <span> element
<span style="color:#402640;">Lorem ipsum dolor sit amet, consectetur adipiscing.</span>
Lorem ipsum dolor sit amet, consectetur adipiscing
A text and a border color : #402640
<div style="color:#402640;width:300px;height:50px;border:2px solid #402640;">Lorem ipsum dolor sit amet, consectetur adipiscing</div>
Lorem ipsum dolor sit amet, consectetur adipiscing
A rectangle with a background color #402640
<div style="background-color:#402640;width:300px;height:100px;"></div>
Code to create a css class and display #402640 text color
<html>
<head>
<style type="text/css">.example{ color:#402640;} </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 #402640;background-color: #ffffff; }
</style>
</head>
<body>
<div class="example"></div>
</body>
</html>
EXAMPLES WITH RGB value : 64,38,64
A text with rgb color values as color code
<div style="color:rgb(64,38,64);">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(64,38,64,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(64,38,64);width:300px;height:100px;"></div>

#402640 color got : 25.1% of Red 14.9% of Green 25.1% of Blue that could be written like this
<div style="color:rgb(25.1%,14.9%,25.1%);">Lorem ipsum dolor sit amet, consectetur adipiscing</div>
Lorem ipsum dolor sit amet, consectetur adipiscing
EXAMPLES WITH HSL : 300,25%,20% and HSLA : 300,25%,20%,opacity
A text with hsl & hsla values. Opacity range : 0,1
css3
<html>
<head>
<style type="text/css">
.example{ color:hsl(300,25%,20%); }
.example_opacity{ color:hsla(300,25%,20%,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
#402640 IMAGE GENERATOR


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