COLOR #304031

HEX: #304031
RGB: (48,64,49)

Color info

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

RGB color model

#304031 color RGB value is (48,64,49).

  • red value is 48;
  • green value is 64;
  • blue value is 49.
RGB:
(48,64,49)
(19%,25%,19%)

RGB channels and saturation

R 48 of 255 = 19%
G 64 of 255 = 25%
B 49 of 255 = 19%

48
64
49

R + G + B ~ 21%. #304031 is dark color.

Portions of RGB colors in percentages

R + G + B =
48 + 64 + 49 = 161 (100%)
R 48 of 161 ~ 29.81%
G 64 of 161 ~ 39.75%
B 49 of 161 ~ 30.43%

%29.81
%39.75
%30.43

CMYK color model

#304031 color CMYK value is (25,0,23,75).

  • cyan value is 25.00%
  • magenta value is 0.00%
  • yellow value is 23.44%
  • key color value is 74.90%
CMYK:
(25,0,23,75)
C25M0Y23K75 
(25%,0%,23%,75%)
(0.25/0.00/0.23/0.75)	

CMYK percentages

%25
%0
%23.44
%74.9

Codes

Color #304031 in popluar color models

304031
RGB486449
HSL124°14.29%21.96%
HSB/HSV124°25.00%25.10%
CMYK25.00%0.00%23.44%
74.90%

Color #304031 in popluar number systems.

HEX304031
Decimal486449
Binary1100001000000110001
Octal6010061

Shades and tints

Shades of #304031

#304031
(48,64,49)
#2C3B2D
(44,59,45)
#283629
(40,54,41)
#243125
(36,49,37)
#202C21
(32,44,33)
#1C271D
(28,39,29)
#182219
(24,34,25)
#141D15
(20,29,21)
#101811
(16,24,17)
#0C130D
(12,19,13)
#080E09
(8,14,9)
#000000
(0,0,0)

Tints of #304031

#304031
(48,64,49)
#425143
(66,81,67)
#546255
(84,98,85)
#667367
(102,115,103)
#788479
(120,132,121)
#8A958B
(138,149,139)
#9CA69D
(156,166,157)
#AEB7AF
(174,183,175)
#C0C8C1
(192,200,193)
#D2D9D3
(210,217,211)
#E4EAE5
(228,234,229)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #304031 color. Also use rgb(48,64,49) instead hex code.

Text Font Color

.myTextColor { color: #304031; }

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

This text font color is #304031.


Background Color

.myBgColor { background-color: #304031; }

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

This div background color is #304031.


Border color

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

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

This div border color is #304031.


Opacity

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

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

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

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

This text has shadow with #304031 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #304031 on black background.


Color preview on white background

This text has color #304031 on white background.



Black color preview on #304031 background

This text has black color on #304031 background.


White color preview on #304031 background

This text has white color on #304031 background.