Coloreminder home /

#305040 hex color

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

#305040 hex color contains 18.82% of Red  31.37% of Green  25.1% of Blue. The Rgb value for #305040 is (48,80,64).  Its web safe color is #336633 (#363)
The CMYK color model (used in color printing) for #305040 is 40% Cyan 0% Magenta 20% Yellow 69% Black. The lightness is equal to 25%, the value of saturation is 25% and it has a hue angle of 150°.

HEXADECIMAL #305040clipboard RGB 48,80,64 rgb color
HSL 0.42,0.25,0.25 (150°,25%,25%) CMYK 40,0,20,69 cmyk color
HSV 150°,40°,31° CIE-LAB 31.198,-15.93,5.751
XYZ 5.013,6.736,5.886 DECIMAL 3166272
HUE SATURATION LIGHTNESS
color icon
10% clipboard
19,32,26
25% clipboard
48,80,64
30% clipboard
57,96,77
40% clipboard
77,128,102
50% clipboard
96,159,128
60% clipboard
128,179,153
70% clipboard
159,198,178
80% clipboard
191,217,204
90% clipboard
223,236,229

Color variation of #305040

25% clipboard
48,80,64

Color schemes of #305040

Complementary color

clipboard
48,80,64
clipboard
80,48,64
 

Analogous colors

clipboard
48,80,48
clipboard
48,80,64
clipboard
48,80,80
 

Triadic colors

clipboard
80,64,48
clipboard
48,80,64
clipboard
64,48,64

Monochromatic colors

clipboard
0,0,0
clipboard
10,16,13
clipboard
19,32,26
clipboard
29,48,39
clipboard
38,64,51
clipboard
48,80,64
clipboard
58,96,77
clipboard
67,112,90
clipboard
77,128,102
 

#305040 others options

Invert color

clipboard
48,80,64
clipboard
207,175,191
 

Grayscale color

palette
48,80,64
clipboard
68,68,68
 

Web Safe color

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

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


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