COLOR #1B1828

HEX: #1B1828
RGB: (27,24,40)

Color info

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

RGB color model

#1B1828 color RGB value is (27,24,40).

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

RGB channels and saturation

R 27 of 255 = 11%
G 24 of 255 = 9%
B 40 of 255 = 16%

27
24
40

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

Portions of RGB colors in percentages

R + G + B =
27 + 24 + 40 = 91 (100%)
R 27 of 91 ~ 29.67%
G 24 of 91 ~ 26.37%
B 40 of 91 ~ 43.96%

%29.67
%26.37
%43.96

CMYK color model

#1B1828 color CMYK value is (33,40,0,84).

  • cyan value is 32.50%
  • magenta value is 40.00%
  • yellow value is 0.00%
  • key color value is 84.31%
CMYK:
(33,40,0,84)
C33M40Y0K84 
(33%,40%,0%,84%)
(0.33/0.40/0.00/0.84)	

CMYK percentages

%32.5
%40
%0
%84.31

Codes

Color #1B1828 in popluar color models

1B1828
RGB272440
HSL251°25.00%12.55%
HSB/HSV251°40.00%15.69%
CMYK32.50%40.00%0.00%
84.31%

Color #1B1828 in popluar number systems.

HEX1B1828
Decimal272440
Binary1101111000101000
Octal333050

Shades and tints

Shades of #1B1828

#1B1828
(27,24,40)
#191625
(25,22,37)
#171422
(23,20,34)
#15121F
(21,18,31)
#13101C
(19,16,28)
#110E19
(17,14,25)
#0F0C16
(15,12,22)
#0D0A13
(13,10,19)
#0B0810
(11,8,16)
#09060D
(9,6,13)
#07040A
(7,4,10)
#000000
(0,0,0)

Tints of #1B1828

#1B1828
(27,24,40)
#2F2D3B
(47,45,59)
#43424E
(67,66,78)
#575761
(87,87,97)
#6B6C74
(107,108,116)
#7F8187
(127,129,135)
#93969A
(147,150,154)
#A7ABAD
(167,171,173)
#BBC0C0
(187,192,192)
#CFD5D3
(207,213,211)
#E3EAE6
(227,234,230)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #1B1828; }

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

This text font color is #1B1828.


Background Color

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

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

This div background color is #1B1828.


Border color

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

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

This div border color is #1B1828.


Opacity

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

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

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

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

This text has shadow with #1B1828 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #1B1828 on black background.


Color preview on white background

This text has color #1B1828 on white background.



Black color preview on #1B1828 background

This text has black color on #1B1828 background.


White color preview on #1B1828 background

This text has white color on #1B1828 background.