COLOR #304945

HEX: #304945
RGB: (48,73,69)

Color info

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

RGB color model

#304945 color RGB value is (48,73,69).

  • red value is 48;
  • green value is 73;
  • blue value is 69.
RGB:
(48,73,69)
(19%,29%,27%)

RGB channels and saturation

R 48 of 255 = 19%
G 73 of 255 = 29%
B 69 of 255 = 27%

48
73
69

R + G + B ~ 25%. #304945 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
48 + 73 + 69 = 190 (100%)
R 48 of 190 ~ 25.26%
G 73 of 190 ~ 38.42%
B 69 of 190 ~ 36.32%

%25.26
%38.42
%36.32

CMYK color model

#304945 color CMYK value is (34,0,5,71).

  • cyan value is 34.25%
  • magenta value is 0.00%
  • yellow value is 5.48%
  • key color value is 71.37%
CMYK:
(34,0,5,71)
C34M0Y5K71 
(34%,0%,5%,71%)
(0.34/0.00/0.05/0.71)	

CMYK percentages

%34.25
%0
%5.48
%71.37

Codes

Color #304945 in popluar color models

304945
RGB487369
HSL170°20.66%23.73%
HSB/HSV170°34.25%28.63%
CMYK34.25%0.00%5.48%
71.37%

Color #304945 in popluar number systems.

HEX304945
Decimal487369
Binary11000010010011000101
Octal60111105

Shades and tints

Shades of #304945

#304945
(48,73,69)
#2C433F
(44,67,63)
#283D39
(40,61,57)
#243733
(36,55,51)
#20312D
(32,49,45)
#1C2B27
(28,43,39)
#182521
(24,37,33)
#141F1B
(20,31,27)
#101915
(16,25,21)
#0C130F
(12,19,15)
#080D09
(8,13,9)
#000000
(0,0,0)

Tints of #304945

#304945
(48,73,69)
#425955
(66,89,85)
#546965
(84,105,101)
#667975
(102,121,117)
#788985
(120,137,133)
#8A9995
(138,153,149)
#9CA9A5
(156,169,165)
#AEB9B5
(174,185,181)
#C0C9C5
(192,201,197)
#D2D9D5
(210,217,213)
#E4E9E5
(228,233,229)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #304945 color. Also use rgb(48,73,69) instead hex code.

Text Font Color

.myTextColor { color: #304945; }

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

This text font color is #304945.


Background Color

.myBgColor { background-color: #304945; }

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

This div background color is #304945.


Border color

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

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

This div border color is #304945.


Opacity

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

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

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

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

This text has shadow with #304945 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #304945 on black background.


Color preview on white background

This text has color #304945 on white background.



Black color preview on #304945 background

This text has black color on #304945 background.


White color preview on #304945 background

This text has white color on #304945 background.