COLOR #304227

HEX: #304227 RGB: (48,66,39)

Color info

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

RGB color model

#304227 color RGB value is (48,66,39).

RGB: (48,66,39) (19%, 26%, 15%)

RGB channels and saturation

R 48 of 255 = 19%
G 66 of 255 = 26%
B 39 of 255 = 15%

48
66
39

R + G + B ~ 20%. #304227 is dark color.

Portions of RGB colors in percentages

R + G + B = 48 + 66 + 39 = 153 (100%)
R 48 of 153 ~ 31.37%
G 66 of 153 ~ 43.14%
B 39 of 153 ~ 25.49'%

%31.37
%43.14
%25.49

CMYK color model

#304227 color CMYK value is (27,0,41,74).

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

CMYK: (27,0,41,74)
C27M0Y41K74 (27%, 0%, 41%, 74%)
(0.27 / 0.00 / 0.41 / 0.74)

CMYK percentages

%27.27
%0
%40.91
%74.12

Codes

Color #304227 in popluar color models

30 42 27
RGB 48 66 39
HSL 100° 25.71% 20.59%
HSB/HSV 100° 40.91% 25.88%
CMYK 27.27% 0.00% 40.91%
74.12%

Color #304227 in popluar number systems.

HEX 30 42 27
Decimal 48 66 39
Binary 110000 1000010 100111
Octal 60 102 47

Shades and tints

Shades of #304227

#304227
(48,66,39)
#2C3C24
(44,60,36)
#283621
(40,54,33)
#24301E
(36,48,30)
#202A1B
(32,42,27)
#1C2418
(28,36,24)
#181E15
(24,30,21)
#141812
(20,24,18)
#10120F
(16,18,15)
#0C0C0C
(12,12,12)
#080609
(8,6,9)
#000000
(0,0,0)

Tints of #304227

#304227
(48,66,39)
#42533A
(66,83,58)
#54644D
(84,100,77)
#667560
(102,117,96)
#788673
(120,134,115)
#8A9786
(138,151,134)
#9CA899
(156,168,153)
#AEB9AC
(174,185,172)
#C0CABF
(192,202,191)
#D2DBD2
(210,219,210)
#E4ECE5
(228,236,229)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #304227; }

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

This text font color is #304227.

Background Color

.myBgColor { background-color: #304227; }

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

This div background color is #304227.

Border color

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

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

This div border color is #304227.

Opacity

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

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

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

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

This text has shadow with #304227 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #304227.

Preview

Color preview on black background

This text has color #304227 on black background.


Color preview on white background

This text has color #304227 on white background.


Black color preview on #304227 background

This text has black color on #304227 background.


White color preview on #304227 background

This text has white color on #304227 background.


Related colors

Complementary color

Complementary color for #hex is #CFBDD8.


I love getcolorcode.com

Triadic colors

1 #273042 and #422730 with #304227 are triadic colors.

2 #274230 and #423027 with #304227 are triadic colors.