COLOR #304831

HEX: #304831 RGB: (48,72,49)

Color info

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

RGB color model

#304831 color RGB value is (48,72,49).

RGB: (48,72,49) (19%, 28%, 19%)

RGB channels and saturation

R 48 of 255 = 19%
G 72 of 255 = 28%
B 49 of 255 = 19%

48
72
49

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

Portions of RGB colors in percentages

R + G + B = 48 + 72 + 49 = 169 (100%)
R 48 of 169 ~ 28.4%
G 72 of 169 ~ 42.6%
B 49 of 169 ~ 28.99'%

%28.4
%42.6
%28.99

CMYK color model

#304831 color CMYK value is (33,0,32,72).

  • cyan value is 33.33%
  • magenta value is 0.00%
  • yellow value is 31.94%
  • key color value is 71.76%

CMYK: (33,0,32,72)
C33M0Y32K72 (33%, 0%, 32%, 72%)
(0.33 / 0.00 / 0.32 / 0.72)

CMYK percentages

%33.33
%0
%31.94
%71.76

Codes

Color #304831 in popluar color models

30 48 31
RGB 48 72 49
HSL 123° 20.00% 23.53%
HSB/HSV 123° 33.33% 28.24%
CMYK 33.33% 0.00% 31.94%
71.76%

Color #304831 in popluar number systems.

HEX 30 48 31
Decimal 48 72 49
Binary 110000 1001000 110001
Octal 60 110 61

Shades and tints

Shades of #304831

#304831
(48,72,49)
#2C422D
(44,66,45)
#283C29
(40,60,41)
#243625
(36,54,37)
#203021
(32,48,33)
#1C2A1D
(28,42,29)
#182419
(24,36,25)
#141E15
(20,30,21)
#101811
(16,24,17)
#0C120D
(12,18,13)
#080C09
(8,12,9)
#000000
(0,0,0)

Tints of #304831

#304831
(48,72,49)
#425843
(66,88,67)
#546855
(84,104,85)
#667867
(102,120,103)
#788879
(120,136,121)
#8A988B
(138,152,139)
#9CA89D
(156,168,157)
#AEB8AF
(174,184,175)
#C0C8C1
(192,200,193)
#D2D8D3
(210,216,211)
#E4E8E5
(228,232,229)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #304831; }

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

This text font color is #304831.

Background Color

.myBgColor { background-color: #304831; }

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

This div background color is #304831.

Border color

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

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

This div border color is #304831.

Opacity

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

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

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

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

This text has shadow with #304831 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #304831.

Preview

Color preview on black background

This text has color #304831 on black background.


Color preview on white background

This text has color #304831 on white background.


Black color preview on #304831 background

This text has black color on #304831 background.


White color preview on #304831 background

This text has white color on #304831 background.


Related colors

Complementary color

Complementary color for #hex is #CFB7CE.


I love getcolorcode.com

Triadic colors

1 #313048 and #483130 with #304831 are triadic colors.

2 #314830 and #483031 with #304831 are triadic colors.