COLOR #1B1128

HEX: #1B1128
RGB: (27,17,40)

Color info

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

RGB color model

#1B1128 color RGB value is (27,17,40).

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

RGB channels and saturation

R 27 of 255 = 11%
G 17 of 255 = 7%
B 40 of 255 = 16%

27
17
40

R + G + B ~ 11%. #1B1128 is dark color.

Portions of RGB colors in percentages

R + G + B =
27 + 17 + 40 = 84 (100%)
R 27 of 84 ~ 32.14%
G 17 of 84 ~ 20.24%
B 40 of 84 ~ 47.62%

%32.14
%20.24
%47.62

CMYK color model

#1B1128 color CMYK value is (33,58,0,84).

  • cyan value is 32.50%
  • magenta value is 57.50%
  • yellow value is 0.00%
  • key color value is 84.31%
CMYK:
(33,58,0,84)
C33M58Y0K84 
(33%,58%,0%,84%)
(0.33/0.58/0.00/0.84)	

CMYK percentages

%32.5
%57.5
%0
%84.31

Codes

Color #1B1128 in popluar color models

1B1128
RGB271740
HSL266°40.35%11.18%
HSB/HSV266°57.50%15.69%
CMYK32.50%57.50%0.00%
84.31%

Color #1B1128 in popluar number systems.

HEX1B1128
Decimal271740
Binary1101110001101000
Octal332150

Shades and tints

Shades of #1B1128

#1B1128
(27,17,40)
#191025
(25,16,37)
#170F22
(23,15,34)
#150E1F
(21,14,31)
#130D1C
(19,13,28)
#110C19
(17,12,25)
#0F0B16
(15,11,22)
#0D0A13
(13,10,19)
#0B0910
(11,9,16)
#09080D
(9,8,13)
#07070A
(7,7,10)
#000000
(0,0,0)

Tints of #1B1128

#1B1128
(27,17,40)
#2F263B
(47,38,59)
#433B4E
(67,59,78)
#575061
(87,80,97)
#6B6574
(107,101,116)
#7F7A87
(127,122,135)
#938F9A
(147,143,154)
#A7A4AD
(167,164,173)
#BBB9C0
(187,185,192)
#CFCED3
(207,206,211)
#E3E3E6
(227,227,230)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #1B1128; }

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

This text font color is #1B1128.


Background Color

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

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

This div background color is #1B1128.


Border color

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

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

This div border color is #1B1128.


Opacity

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

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

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

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

This text has shadow with #1B1128 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #1B1128 on black background.


Color preview on white background

This text has color #1B1128 on white background.



Black color preview on #1B1128 background

This text has black color on #1B1128 background.


White color preview on #1B1128 background

This text has white color on #1B1128 background.