COLOR #1B5B28

HEX: #1B5B28
RGB: (27,91,40)

Color info

#1B5B28 contains mainly green and blue colors. Web safe color of #1B5B28 is #336633 (or #363).

RGB color model

#1B5B28 color RGB value is (27,91,40).

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

RGB channels and saturation

R 27 of 255 = 11%
G 91 of 255 = 36%
B 40 of 255 = 16%

27
91
40

R + G + B ~ 21%. #1B5B28 is dark color.

Portions of RGB colors in percentages

R + G + B =
27 + 91 + 40 = 158 (100%)
R 27 of 158 ~ 17.09%
G 91 of 158 ~ 57.59%
B 40 of 158 ~ 25.32%

%17.09
%57.59
%25.32

CMYK color model

#1B5B28 color CMYK value is (70,0,56,64).

  • cyan value is 70.33%
  • magenta value is 0.00%
  • yellow value is 56.04%
  • key color value is 64.31%
CMYK:
(70,0,56,64)
C70M0Y56K64 
(70%,0%,56%,64%)
(0.70/0.00/0.56/0.64)	

CMYK percentages

%70.33
%0
%56.04
%64.31

Codes

Color #1B5B28 in popluar color models

1B5B28
RGB279140
HSL132°54.24%23.14%
HSB/HSV132°70.33%35.69%
CMYK70.33%0.00%56.04%
64.31%

Color #1B5B28 in popluar number systems.

HEX1B5B28
Decimal279140
Binary110111011011101000
Octal3313350

Shades and tints

Shades of #1B5B28

#1B5B28
(27,91,40)
#195325
(25,83,37)
#174B22
(23,75,34)
#15431F
(21,67,31)
#133B1C
(19,59,28)
#113319
(17,51,25)
#0F2B16
(15,43,22)
#0D2313
(13,35,19)
#0B1B10
(11,27,16)
#09130D
(9,19,13)
#070B0A
(7,11,10)
#000000
(0,0,0)

Tints of #1B5B28

#1B5B28
(27,91,40)
#2F693B
(47,105,59)
#43774E
(67,119,78)
#578561
(87,133,97)
#6B9374
(107,147,116)
#7FA187
(127,161,135)
#93AF9A
(147,175,154)
#A7BDAD
(167,189,173)
#BBCBC0
(187,203,192)
#CFD9D3
(207,217,211)
#E3E7E6
(227,231,230)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #1B5B28; }

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

This text font color is #1B5B28.


Background Color

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

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

This div background color is #1B5B28.


Border color

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

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

This div border color is #1B5B28.


Opacity

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

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

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

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

This text has shadow with #1B5B28 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #1B5B28 on black background.


Color preview on white background

This text has color #1B5B28 on white background.



Black color preview on #1B5B28 background

This text has black color on #1B5B28 background.


White color preview on #1B5B28 background

This text has white color on #1B5B28 background.