COLOR #1B1528

HEX: #1B1528
RGB: (27,21,40)

Color info

#1B1528 contains red, green and blue colors in about the same proportion. Web safe color of #1B1528 is #330033 (or #303).

RGB color model

#1B1528 color RGB value is (27,21,40).

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

RGB channels and saturation

R 27 of 255 = 11%
G 21 of 255 = 8%
B 40 of 255 = 16%

27
21
40

R + G + B ~ 12%. #1B1528 is dark color.

Portions of RGB colors in percentages

R + G + B =
27 + 21 + 40 = 88 (100%)
R 27 of 88 ~ 30.68%
G 21 of 88 ~ 23.86%
B 40 of 88 ~ 45.45%

%30.68
%23.86
%45.45

CMYK color model

#1B1528 color CMYK value is (33,48,0,84).

  • cyan value is 32.50%
  • magenta value is 47.50%
  • yellow value is 0.00%
  • key color value is 84.31%
CMYK:
(33,48,0,84)
C33M48Y0K84 
(33%,48%,0%,84%)
(0.33/0.48/0.00/0.84)	

CMYK percentages

%32.5
%47.5
%0
%84.31

Codes

Color #1B1528 in popluar color models

1B1528
RGB272140
HSL259°31.15%11.96%
HSB/HSV259°47.50%15.69%
CMYK32.50%47.50%0.00%
84.31%

Color #1B1528 in popluar number systems.

HEX1B1528
Decimal272140
Binary1101110101101000
Octal332550

Shades and tints

Shades of #1B1528

#1B1528
(27,21,40)
#191425
(25,20,37)
#171322
(23,19,34)
#15121F
(21,18,31)
#13111C
(19,17,28)
#111019
(17,16,25)
#0F0F16
(15,15,22)
#0D0E13
(13,14,19)
#0B0D10
(11,13,16)
#090C0D
(9,12,13)
#070B0A
(7,11,10)
#000000
(0,0,0)

Tints of #1B1528

#1B1528
(27,21,40)
#2F2A3B
(47,42,59)
#433F4E
(67,63,78)
#575461
(87,84,97)
#6B6974
(107,105,116)
#7F7E87
(127,126,135)
#93939A
(147,147,154)
#A7A8AD
(167,168,173)
#BBBDC0
(187,189,192)
#CFD2D3
(207,210,211)
#E3E7E6
(227,231,230)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #1B1528; }

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

This text font color is #1B1528.


Background Color

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

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

This div background color is #1B1528.


Border color

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

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

This div border color is #1B1528.


Opacity

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

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

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

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

This text has shadow with #1B1528 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #1B1528 on black background.


Color preview on white background

This text has color #1B1528 on white background.



Black color preview on #1B1528 background

This text has black color on #1B1528 background.


White color preview on #1B1528 background

This text has white color on #1B1528 background.