COLOR #254740

HEX: #254740 RGB: (37,71,64)

Color info

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

RGB color model

#254740 color RGB value is (37,71,64).

RGB: (37,71,64) (15%, 28%, 25%)

RGB channels and saturation

R 37 of 255 = 15%
G 71 of 255 = 28%
B 64 of 255 = 25%

37
71
64

R + G + B ~ 23%. #254740 is dark color.

Portions of RGB colors in percentages

R + G + B = 37 + 71 + 64 = 172 (100%)
R 37 of 172 ~ 21.51%
G 71 of 172 ~ 41.28%
B 64 of 172 ~ 37.21'%

%21.51
%41.28
%37.21

CMYK color model

#254740 color CMYK value is (48,0,10,72).

  • cyan value is 47.89%
  • magenta value is 0.00%
  • yellow value is 9.86%
  • key color value is 72.16%

CMYK: (48,0,10,72)
C48M0Y10K72 (48%, 0%, 10%, 72%)
(0.48 / 0.00 / 0.10 / 0.72)

CMYK percentages

%47.89
%0
%9.86
%72.16

Codes

Color #254740 in popluar color models

25 47 40
RGB 37 71 64
HSL 168° 31.48% 21.18%
HSB/HSV 168° 47.89% 27.84%
CMYK 47.89% 0.00% 9.86%
72.16%

Color #254740 in popluar number systems.

HEX 25 47 40
Decimal 37 71 64
Binary 100101 1000111 1000000
Octal 45 107 100

Shades and tints

Shades of #254740

#254740
(37,71,64)
#22413B
(34,65,59)
#1F3B36
(31,59,54)
#1C3531
(28,53,49)
#192F2C
(25,47,44)
#162927
(22,41,39)
#132322
(19,35,34)
#101D1D
(16,29,29)
#0D1718
(13,23,24)
#0A1113
(10,17,19)
#070B0E
(7,11,14)
#000000
(0,0,0)

Tints of #254740

#254740
(37,71,64)
#385751
(56,87,81)
#4B6762
(75,103,98)
#5E7773
(94,119,115)
#718784
(113,135,132)
#849795
(132,151,149)
#97A7A6
(151,167,166)
#AAB7B7
(170,183,183)
#BDC7C8
(189,199,200)
#D0D7D9
(208,215,217)
#E3E7EA
(227,231,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #254740; }

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

This text font color is #254740.

Background Color

.myBgColor { background-color: #254740; }

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

This div background color is #254740.

Border color

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

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

This div border color is #254740.

Opacity

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

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

Text with #254740 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 #254740;}

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

This text has shadow with #254740 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #254740.

Preview

Color preview on black background

This text has color #254740 on black background.


Color preview on white background

This text has color #254740 on white background.


Black color preview on #254740 background

This text has black color on #254740 background.


White color preview on #254740 background

This text has white color on #254740 background.


Related colors

Complementary color

Complementary color for #hex is #DAB8BF.


I love getcolorcode.com

Triadic colors

1 #402547 and #474025 with #254740 are triadic colors.

2 #404725 and #472540 with #254740 are triadic colors.