COLOR #1B4728

HEX: #1B4728
RGB: (27,71,40)

Color info

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

RGB color model

#1B4728 color RGB value is (27,71,40).

  • red value is 27;
  • green value is 71;
  • blue value is 40.
RGB:
(27,71,40)
(11%,28%,16%)

RGB channels and saturation

R 27 of 255 = 11%
G 71 of 255 = 28%
B 40 of 255 = 16%

27
71
40

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

Portions of RGB colors in percentages

R + G + B =
27 + 71 + 40 = 138 (100%)
R 27 of 138 ~ 19.57%
G 71 of 138 ~ 51.45%
B 40 of 138 ~ 28.99%

%19.57
%51.45
%28.99

CMYK color model

#1B4728 color CMYK value is (62,0,44,72).

  • cyan value is 61.97%
  • magenta value is 0.00%
  • yellow value is 43.66%
  • key color value is 72.16%
CMYK:
(62,0,44,72)
C62M0Y44K72 
(62%,0%,44%,72%)
(0.62/0.00/0.44/0.72)	

CMYK percentages

%61.97
%0
%43.66
%72.16

Codes

Color #1B4728 in popluar color models

1B4728
RGB277140
HSL138°44.90%19.22%
HSB/HSV138°61.97%27.84%
CMYK61.97%0.00%43.66%
72.16%

Color #1B4728 in popluar number systems.

HEX1B4728
Decimal277140
Binary110111000111101000
Octal3310750

Shades and tints

Shades of #1B4728

#1B4728
(27,71,40)
#194125
(25,65,37)
#173B22
(23,59,34)
#15351F
(21,53,31)
#132F1C
(19,47,28)
#112919
(17,41,25)
#0F2316
(15,35,22)
#0D1D13
(13,29,19)
#0B1710
(11,23,16)
#09110D
(9,17,13)
#070B0A
(7,11,10)
#000000
(0,0,0)

Tints of #1B4728

#1B4728
(27,71,40)
#2F573B
(47,87,59)
#43674E
(67,103,78)
#577761
(87,119,97)
#6B8774
(107,135,116)
#7F9787
(127,151,135)
#93A79A
(147,167,154)
#A7B7AD
(167,183,173)
#BBC7C0
(187,199,192)
#CFD7D3
(207,215,211)
#E3E7E6
(227,231,230)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #1B4728 color. Also use rgb(27,71,40) instead hex code.

Text Font Color

.myTextColor { color: #1B4728; }

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

This text font color is #1B4728.


Background Color

.myBgColor { background-color: #1B4728; }

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

This div background color is #1B4728.


Border color

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

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

This div border color is #1B4728.


Opacity

.myOpacity80 { color: #1B4728; opacity: 0.8; }

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

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

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

This text has shadow with #1B4728 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #1B4728 on black background.


Color preview on white background

This text has color #1B4728 on white background.



Black color preview on #1B4728 background

This text has black color on #1B4728 background.


White color preview on #1B4728 background

This text has white color on #1B4728 background.