COLOR #304239

HEX: #304239 RGB: (48,66,57)

Color info

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

RGB color model

#304239 color RGB value is (48,66,57).

RGB: (48,66,57) (19%, 26%, 22%)

RGB channels and saturation

R 48 of 255 = 19%
G 66 of 255 = 26%
B 57 of 255 = 22%

48
66
57

R + G + B ~ 22%. #304239 is dark color.

Portions of RGB colors in percentages

R + G + B = 48 + 66 + 57 = 171 (100%)
R 48 of 171 ~ 28.07%
G 66 of 171 ~ 38.6%
B 57 of 171 ~ 33.33'%

%28.07
%38.6
%33.33

CMYK color model

#304239 color CMYK value is (27,0,14,74).

  • cyan value is 27.27%
  • magenta value is 0.00%
  • yellow value is 13.64%
  • key color value is 74.12%

CMYK: (27,0,14,74)
C27M0Y14K74 (27%, 0%, 14%, 74%)
(0.27 / 0.00 / 0.14 / 0.74)

CMYK percentages

%27.27
%0
%13.64
%74.12

Codes

Color #304239 in popluar color models

30 42 39
RGB 48 66 57
HSL 150° 15.79% 22.35%
HSB/HSV 150° 27.27% 25.88%
CMYK 27.27% 0.00% 13.64%
74.12%

Color #304239 in popluar number systems.

HEX 30 42 39
Decimal 48 66 57
Binary 110000 1000010 111001
Octal 60 102 71

Shades and tints

Shades of #304239

#304239
(48,66,57)
#2C3C34
(44,60,52)
#28362F
(40,54,47)
#24302A
(36,48,42)
#202A25
(32,42,37)
#1C2420
(28,36,32)
#181E1B
(24,30,27)
#141816
(20,24,22)
#101211
(16,18,17)
#0C0C0C
(12,12,12)
#080607
(8,6,7)
#000000
(0,0,0)

Tints of #304239

#304239
(48,66,57)
#42534B
(66,83,75)
#54645D
(84,100,93)
#66756F
(102,117,111)
#788681
(120,134,129)
#8A9793
(138,151,147)
#9CA8A5
(156,168,165)
#AEB9B7
(174,185,183)
#C0CAC9
(192,202,201)
#D2DBDB
(210,219,219)
#E4ECED
(228,236,237)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #304239; }

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

This text font color is #304239.

Background Color

.myBgColor { background-color: #304239; }

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

This div background color is #304239.

Border color

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

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

This div border color is #304239.

Opacity

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

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

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

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

This text has shadow with #304239 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #304239.

Preview

Color preview on black background

This text has color #304239 on black background.


Color preview on white background

This text has color #304239 on white background.


Black color preview on #304239 background

This text has black color on #304239 background.


White color preview on #304239 background

This text has white color on #304239 background.


Related colors

Complementary color

Complementary color for #hex is #CFBDC6.


I love getcolorcode.com

Triadic colors

1 #393042 and #423930 with #304239 are triadic colors.

2 #394230 and #423039 with #304239 are triadic colors.