COLOR #304017

HEX: #304017
RGB: (48,64,23)

Color info

#304017 contains red, green and blue colors in about the same proportion. Web safe color of #304017 is #333300 (or #330).

RGB color model

#304017 color RGB value is (48,64,23).

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

RGB channels and saturation

R 48 of 255 = 19%
G 64 of 255 = 25%
B 23 of 255 = 9%

48
64
23

R + G + B ~ 18%. #304017 is dark color.

Portions of RGB colors in percentages

R + G + B =
48 + 64 + 23 = 135 (100%)
R 48 of 135 ~ 35.56%
G 64 of 135 ~ 47.41%
B 23 of 135 ~ 17.04%

%35.56
%47.41
%17.04

CMYK color model

#304017 color CMYK value is (25,0,64,75).

  • cyan value is 25.00%
  • magenta value is 0.00%
  • yellow value is 64.06%
  • key color value is 74.90%
CMYK:
(25,0,64,75)
C25M0Y64K75 
(25%,0%,64%,75%)
(0.25/0.00/0.64/0.75)	

CMYK percentages

%25
%0
%64.06
%74.9

Codes

Color #304017 in popluar color models

304017
RGB486423
HSL83°47.13%17.06%
HSB/HSV83°64.06%25.10%
CMYK25.00%0.00%64.06%
74.90%

Color #304017 in popluar number systems.

HEX304017
Decimal486423
Binary110000100000010111
Octal6010027

Shades and tints

Shades of #304017

#304017
(48,64,23)
#2C3B15
(44,59,21)
#283613
(40,54,19)
#243111
(36,49,17)
#202C0F
(32,44,15)
#1C270D
(28,39,13)
#18220B
(24,34,11)
#141D09
(20,29,9)
#101807
(16,24,7)
#0C1305
(12,19,5)
#080E03
(8,14,3)
#000000
(0,0,0)

Tints of #304017

#304017
(48,64,23)
#42512C
(66,81,44)
#546241
(84,98,65)
#667356
(102,115,86)
#78846B
(120,132,107)
#8A9580
(138,149,128)
#9CA695
(156,166,149)
#AEB7AA
(174,183,170)
#C0C8BF
(192,200,191)
#D2D9D4
(210,217,212)
#E4EAE9
(228,234,233)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #304017; }

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

This text font color is #304017.


Background Color

.myBgColor { background-color: #304017; }

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

This div background color is #304017.


Border color

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

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

This div border color is #304017.


Opacity

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

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

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

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

This text has shadow with #304017 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #304017 on black background.


Color preview on white background

This text has color #304017 on white background.



Black color preview on #304017 background

This text has black color on #304017 background.


White color preview on #304017 background

This text has white color on #304017 background.