COLOR #1B5A28

HEX: #1B5A28
RGB: (27,90,40)

Color info

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

RGB color model

#1B5A28 color RGB value is (27,90,40).

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

RGB channels and saturation

R 27 of 255 = 11%
G 90 of 255 = 35%
B 40 of 255 = 16%

27
90
40

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

Portions of RGB colors in percentages

R + G + B =
27 + 90 + 40 = 157 (100%)
R 27 of 157 ~ 17.2%
G 90 of 157 ~ 57.32%
B 40 of 157 ~ 25.48%

%17.2
%57.32
%25.48

CMYK color model

#1B5A28 color CMYK value is (70,0,56,65).

  • cyan value is 70.00%
  • magenta value is 0.00%
  • yellow value is 55.56%
  • key color value is 64.71%
CMYK:
(70,0,56,65)
C70M0Y56K65 
(70%,0%,56%,65%)
(0.70/0.00/0.56/0.65)	

CMYK percentages

%70
%0
%55.56
%64.71

Codes

Color #1B5A28 in popluar color models

1B5A28
RGB279040
HSL132°53.85%22.94%
HSB/HSV132°70.00%35.29%
CMYK70.00%0.00%55.56%
64.71%

Color #1B5A28 in popluar number systems.

HEX1B5A28
Decimal279040
Binary110111011010101000
Octal3313250

Shades and tints

Shades of #1B5A28

#1B5A28
(27,90,40)
#195225
(25,82,37)
#174A22
(23,74,34)
#15421F
(21,66,31)
#133A1C
(19,58,28)
#113219
(17,50,25)
#0F2A16
(15,42,22)
#0D2213
(13,34,19)
#0B1A10
(11,26,16)
#09120D
(9,18,13)
#070A0A
(7,10,10)
#000000
(0,0,0)

Tints of #1B5A28

#1B5A28
(27,90,40)
#2F693B
(47,105,59)
#43784E
(67,120,78)
#578761
(87,135,97)
#6B9674
(107,150,116)
#7FA587
(127,165,135)
#93B49A
(147,180,154)
#A7C3AD
(167,195,173)
#BBD2C0
(187,210,192)
#CFE1D3
(207,225,211)
#E3F0E6
(227,240,230)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #1B5A28; }

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

This text font color is #1B5A28.


Background Color

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

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

This div background color is #1B5A28.


Border color

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

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

This div border color is #1B5A28.


Opacity

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

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

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

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

This text has shadow with #1B5A28 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #1B5A28 on black background.


Color preview on white background

This text has color #1B5A28 on white background.



Black color preview on #1B5A28 background

This text has black color on #1B5A28 background.


White color preview on #1B5A28 background

This text has white color on #1B5A28 background.