COLOR #304B1B

HEX: #304B1B
RGB: (48,75,27)

Color info

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

RGB color model

#304B1B color RGB value is (48,75,27).

  • red value is 48;
  • green value is 75;
  • blue value is 27.
RGB:
(48,75,27)
(19%,29%,11%)

RGB channels and saturation

R 48 of 255 = 19%
G 75 of 255 = 29%
B 27 of 255 = 11%

48
75
27

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

Portions of RGB colors in percentages

R + G + B =
48 + 75 + 27 = 150 (100%)
R 48 of 150 ~ 32%
G 75 of 150 ~ 50%
B 27 of 150 ~ 18%

%32
%50
%18

CMYK color model

#304B1B color CMYK value is (36,0,64,71).

  • cyan value is 36.00%
  • magenta value is 0.00%
  • yellow value is 64.00%
  • key color value is 70.59%
CMYK:
(36,0,64,71)
C36M0Y64K71 
(36%,0%,64%,71%)
(0.36/0.00/0.64/0.71)	

CMYK percentages

%36
%0
%64
%70.59

Codes

Color #304B1B in popluar color models

304B1B
RGB487527
HSL94°47.06%20.00%
HSB/HSV94°64.00%29.41%
CMYK36.00%0.00%64.00%
70.59%

Color #304B1B in popluar number systems.

HEX304B1B
Decimal487527
Binary110000100101111011
Octal6011333

Shades and tints

Shades of #304B1B

#304B1B
(48,75,27)
#2C4519
(44,69,25)
#283F17
(40,63,23)
#243915
(36,57,21)
#203313
(32,51,19)
#1C2D11
(28,45,17)
#18270F
(24,39,15)
#14210D
(20,33,13)
#101B0B
(16,27,11)
#0C1509
(12,21,9)
#080F07
(8,15,7)
#000000
(0,0,0)

Tints of #304B1B

#304B1B
(48,75,27)
#425B2F
(66,91,47)
#546B43
(84,107,67)
#667B57
(102,123,87)
#788B6B
(120,139,107)
#8A9B7F
(138,155,127)
#9CAB93
(156,171,147)
#AEBBA7
(174,187,167)
#C0CBBB
(192,203,187)
#D2DBCF
(210,219,207)
#E4EBE3
(228,235,227)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #304B1B color. Also use rgb(48,75,27) instead hex code.

Text Font Color

.myTextColor { color: #304B1B; }

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

This text font color is #304B1B.


Background Color

.myBgColor { background-color: #304B1B; }

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

This div background color is #304B1B.


Border color

.myBorderColor { border: 1px solid #304B1B; }

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

This div border color is #304B1B.


Opacity

.myOpacity80 { color: #304B1B; opacity: 0.8; }

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

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

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

This text has shadow with #304B1B color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #304B1B on black background.


Color preview on white background

This text has color #304B1B on white background.



Black color preview on #304B1B background

This text has black color on #304B1B background.


White color preview on #304B1B background

This text has white color on #304B1B background.