COLOR #304F42

HEX: #304F42
RGB: (48,79,66)

Color info

#304F42 contains red, green and blue colors in about the same proportion. Web safe color of #304F42 is #336633 (or #363).

RGB color model

#304F42 color RGB value is (48,79,66).

  • red value is 48;
  • green value is 79;
  • blue value is 66.
RGB:
(48,79,66)
(19%,31%,26%)

RGB channels and saturation

R 48 of 255 = 19%
G 79 of 255 = 31%
B 66 of 255 = 26%

48
79
66

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

Portions of RGB colors in percentages

R + G + B =
48 + 79 + 66 = 193 (100%)
R 48 of 193 ~ 24.87%
G 79 of 193 ~ 40.93%
B 66 of 193 ~ 34.2%

%24.87
%40.93
%34.2

CMYK color model

#304F42 color CMYK value is (39,0,16,69).

  • cyan value is 39.24%
  • magenta value is 0.00%
  • yellow value is 16.46%
  • key color value is 69.02%
CMYK:
(39,0,16,69)
C39M0Y16K69 
(39%,0%,16%,69%)
(0.39/0.00/0.16/0.69)	

CMYK percentages

%39.24
%0
%16.46
%69.02

Codes

Color #304F42 in popluar color models

304F42
RGB487966
HSL155°24.41%24.90%
HSB/HSV155°39.24%30.98%
CMYK39.24%0.00%16.46%
69.02%

Color #304F42 in popluar number systems.

HEX304F42
Decimal487966
Binary11000010011111000010
Octal60117102

Shades and tints

Shades of #304F42

#304F42
(48,79,66)
#2C483C
(44,72,60)
#284136
(40,65,54)
#243A30
(36,58,48)
#20332A
(32,51,42)
#1C2C24
(28,44,36)
#18251E
(24,37,30)
#141E18
(20,30,24)
#101712
(16,23,18)
#0C100C
(12,16,12)
#080906
(8,9,6)
#000000
(0,0,0)

Tints of #304F42

#304F42
(48,79,66)
#425F53
(66,95,83)
#546F64
(84,111,100)
#667F75
(102,127,117)
#788F86
(120,143,134)
#8A9F97
(138,159,151)
#9CAFA8
(156,175,168)
#AEBFB9
(174,191,185)
#C0CFCA
(192,207,202)
#D2DFDB
(210,223,219)
#E4EFEC
(228,239,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #304F42 color. Also use rgb(48,79,66) instead hex code.

Text Font Color

.myTextColor { color: #304F42; }

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

This text font color is #304F42.


Background Color

.myBgColor { background-color: #304F42; }

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

This div background color is #304F42.


Border color

.myBorderColor { border: 1px solid #304F42; }

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

This div border color is #304F42.


Opacity

.myOpacity80 { color: #304F42; opacity: 0.8; }

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

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

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

This text has shadow with #304F42 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #304F42 on black background.


Color preview on white background

This text has color #304F42 on white background.



Black color preview on #304F42 background

This text has black color on #304F42 background.


White color preview on #304F42 background

This text has white color on #304F42 background.