COLOR #254240

HEX: #254240
RGB: (37,66,64)

Color info

#254240 contains red, green and blue colors in about the same proportion. Web safe color of #254240 is #333333 (or #333).

RGB color model

#254240 color RGB value is (37,66,64).

  • red value is 37;
  • green value is 66;
  • blue value is 64.
RGB:
(37,66,64)
(15%,26%,25%)

RGB channels and saturation

R 37 of 255 = 15%
G 66 of 255 = 26%
B 64 of 255 = 25%

37
66
64

R + G + B ~ 22%. #254240 is dark color.

Portions of RGB colors in percentages

R + G + B =
37 + 66 + 64 = 167 (100%)
R 37 of 167 ~ 22.16%
G 66 of 167 ~ 39.52%
B 64 of 167 ~ 38.32%

%22.16
%39.52
%38.32

CMYK color model

#254240 color CMYK value is (44,0,3,74).

  • cyan value is 43.94%
  • magenta value is 0.00%
  • yellow value is 3.03%
  • key color value is 74.12%
CMYK:
(44,0,3,74)
C44M0Y3K74 
(44%,0%,3%,74%)
(0.44/0.00/0.03/0.74)	

CMYK percentages

%43.94
%0
%3.03
%74.12

Codes

Color #254240 in popluar color models

254240
RGB376664
HSL176°28.16%20.20%
HSB/HSV176°43.94%25.88%
CMYK43.94%0.00%3.03%
74.12%

Color #254240 in popluar number systems.

HEX254240
Decimal376664
Binary10010110000101000000
Octal45102100

Shades and tints

Shades of #254240

#254240
(37,66,64)
#223C3B
(34,60,59)
#1F3636
(31,54,54)
#1C3031
(28,48,49)
#192A2C
(25,42,44)
#162427
(22,36,39)
#131E22
(19,30,34)
#10181D
(16,24,29)
#0D1218
(13,18,24)
#0A0C13
(10,12,19)
#07060E
(7,6,14)
#000000
(0,0,0)

Tints of #254240

#254240
(37,66,64)
#385351
(56,83,81)
#4B6462
(75,100,98)
#5E7573
(94,117,115)
#718684
(113,134,132)
#849795
(132,151,149)
#97A8A6
(151,168,166)
#AAB9B7
(170,185,183)
#BDCAC8
(189,202,200)
#D0DBD9
(208,219,217)
#E3ECEA
(227,236,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #254240 color. Also use rgb(37,66,64) instead hex code.

Text Font Color

.myTextColor { color: #254240; }

<p style="color:#254240">This sample text font color is #254240.</p>

This text font color is #254240.


Background Color

.myBgColor { background-color: #254240; }

<div style="background-color:#254240">Inner text</div>

This div background color is #254240.


Border color

.myBorderColor { border: 1px solid #254240; }

<div style="border:3px solid #254240">Div</div>

This div border color is #254240.


Opacity

.myOpacity80 { color: #254240; opacity: 0.8; }

<p style="color:#254240;opacity:0.8;">80%</p>

Text with #254240 color and opacity 100% | 80% | 50% | 30%.

Background with opacity value 100%.

Background with opacity value 80%.

Background with opacity value 50%.

Background with opacity value 30%.

Text shadow color

.textShadow {text-shadow: 3px 3px 1px #254240;}

<p style="text-shadow: 3px 3px 1px #254240">Text here.</p>

This text has shadow with #254240 color.

.textShadow {text-shadow: 3px 3px 1px #254240, 3px 3px 1px red;}

<p style="text-shadow: 3px 3px 1px #254240, 5px 5px 20px red">Text here.</p>

This text has shadow with #254240 primary color and red secondary color.


Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#254240, Direction=45, Strength=4)}

<p style="filter: Shadow(Color=#254240, Direction=45, Strength=4)">Text</p>

This text has shadow with #254240 and red colors in old Internet Explorer.


Div box shadow color

/* css code */
.divShadow
{
  -moz-box-shadow:	1px 1px 3px 2px #254240;
  -webkit-box-shadow:	1px 1px 3px 2px #254240;
  box-shadow:		1px 1px 3px 2px #254240;
}

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #254240;
-webkit-box-shadow: 1px 1px 3px 2px #254240;
box-shadow:1px 1px 3px 2px #254240;">
Div content here</div>
This div box has shadow with color #254240.

Preview

Color preview on black background

This text has color #254240 on black background.


Color preview on white background

This text has color #254240 on white background.



Black color preview on #254240 background

This text has black color on #254240 background.


White color preview on #254240 background

This text has white color on #254240 background.