COLOR #308172

HEX: #308172
RGB: (48,129,114)

Color info

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

RGB color model

#308172 color RGB value is (48,129,114).

  • red value is 48;
  • green value is 129;
  • blue value is 114.
RGB:
(48,129,114)
(19%,51%,45%)

RGB channels and saturation

R 48 of 255 = 19%
G 129 of 255 = 51%
B 114 of 255 = 45%

48
129
114

R + G + B ~ 38%. #308172 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
48 + 129 + 114 = 291 (100%)
R 48 of 291 ~ 16.49%
G 129 of 291 ~ 44.33%
B 114 of 291 ~ 39.18%

%16.49
%44.33
%39.18

CMYK color model

#308172 color CMYK value is (63,0,12,49).

  • cyan value is 62.79%
  • magenta value is 0.00%
  • yellow value is 11.63%
  • key color value is 49.41%
CMYK:
(63,0,12,49)
C63M0Y12K49 
(63%,0%,12%,49%)
(0.63/0.00/0.12/0.49)	

CMYK percentages

%62.79
%0
%11.63
%49.41

Codes

Color #308172 in popluar color models

308172
RGB48129114
HSL169°45.76%34.71%
HSB/HSV169°62.79%50.59%
CMYK62.79%0.00%11.63%
49.41%

Color #308172 in popluar number systems.

HEX308172
Decimal48129114
Binary110000100000011110010
Octal60201162

Shades and tints

Shades of #308172

#308172
(48,129,114)
#2C7668
(44,118,104)
#286B5E
(40,107,94)
#246054
(36,96,84)
#20554A
(32,85,74)
#1C4A40
(28,74,64)
#183F36
(24,63,54)
#14342C
(20,52,44)
#102922
(16,41,34)
#0C1E18
(12,30,24)
#08130E
(8,19,14)
#000000
(0,0,0)

Tints of #308172

#308172
(48,129,114)
#428C7E
(66,140,126)
#54978A
(84,151,138)
#66A296
(102,162,150)
#78ADA2
(120,173,162)
#8AB8AE
(138,184,174)
#9CC3BA
(156,195,186)
#AECEC6
(174,206,198)
#C0D9D2
(192,217,210)
#D2E4DE
(210,228,222)
#E4EFEA
(228,239,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #308172 color. Also use rgb(48,129,114) instead hex code.

Text Font Color

.myTextColor { color: #308172; }

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

This text font color is #308172.


Background Color

.myBgColor { background-color: #308172; }

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

This div background color is #308172.


Border color

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

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

This div border color is #308172.


Opacity

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

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

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

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

This text has shadow with #308172 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #308172 on black background.


Color preview on white background

This text has color #308172 on white background.



Black color preview on #308172 background

This text has black color on #308172 background.


White color preview on #308172 background

This text has white color on #308172 background.