COLOR #338972

HEX: #338972
RGB: (51,137,114)

Color info

#338972 contains mainly green and blue colors. Web safe color of #338972 is #339966 (or #396).

RGB color model

#338972 color RGB value is (51,137,114).

  • red value is 51;
  • green value is 137;
  • blue value is 114.
RGB:
(51,137,114)
(20%,54%,45%)

RGB channels and saturation

R 51 of 255 = 20%
G 137 of 255 = 54%
B 114 of 255 = 45%

51
137
114

R + G + B ~ 40%. #338972 is middle color (not dark and not light).

Portions of RGB colors in percentages

R + G + B =
51 + 137 + 114 = 302 (100%)
R 51 of 302 ~ 16.89%
G 137 of 302 ~ 45.36%
B 114 of 302 ~ 37.75%

%16.89
%45.36
%37.75

CMYK color model

#338972 color CMYK value is (63,0,17,46).

  • cyan value is 62.77%
  • magenta value is 0.00%
  • yellow value is 16.79%
  • key color value is 46.27%
CMYK:
(63,0,17,46)
C63M0Y17K46 
(63%,0%,17%,46%)
(0.63/0.00/0.17/0.46)	

CMYK percentages

%62.77
%0
%16.79
%46.27

Codes

Color #338972 in popluar color models

338972
RGB51137114
HSL164°45.74%36.86%
HSB/HSV164°62.77%53.73%
CMYK62.77%0.00%16.79%
46.27%

Color #338972 in popluar number systems.

HEX338972
Decimal51137114
Binary110011100010011110010
Octal63211162

Shades and tints

Shades of #338972

#338972
(51,137,114)
#2F7D68
(47,125,104)
#2B715E
(43,113,94)
#276554
(39,101,84)
#23594A
(35,89,74)
#1F4D40
(31,77,64)
#1B4136
(27,65,54)
#17352C
(23,53,44)
#132922
(19,41,34)
#0F1D18
(15,29,24)
#0B110E
(11,17,14)
#000000
(0,0,0)

Tints of #338972

#338972
(51,137,114)
#45937E
(69,147,126)
#579D8A
(87,157,138)
#69A796
(105,167,150)
#7BB1A2
(123,177,162)
#8DBBAE
(141,187,174)
#9FC5BA
(159,197,186)
#B1CFC6
(177,207,198)
#C3D9D2
(195,217,210)
#D5E3DE
(213,227,222)
#E7EDEA
(231,237,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #338972 color. Also use rgb(51,137,114) instead hex code.

Text Font Color

.myTextColor { color: #338972; }

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

This text font color is #338972.


Background Color

.myBgColor { background-color: #338972; }

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

This div background color is #338972.


Border color

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

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

This div border color is #338972.


Opacity

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

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

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

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

This text has shadow with #338972 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #338972 on black background.


Color preview on white background

This text has color #338972 on white background.



Black color preview on #338972 background

This text has black color on #338972 background.


White color preview on #338972 background

This text has white color on #338972 background.