COLOR #1B1504

HEX: #1B1504
RGB: (27,21,4)

Color info

#1B1504 contains red, green and blue colors in about the same proportion. Web safe color of #1B1504 is #330000 (or #300).

RGB color model

#1B1504 color RGB value is (27,21,4).

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

RGB channels and saturation

R 27 of 255 = 11%
G 21 of 255 = 8%
B 4 of 255 = 2%

27
21
4

R + G + B ~ 7%. #1B1504 is dark color.

Portions of RGB colors in percentages

R + G + B =
27 + 21 + 4 = 52 (100%)
R 27 of 52 ~ 51.92%
G 21 of 52 ~ 40.38%
B 4 of 52 ~ 7.69%

%51.92
%40.38

CMYK color model

#1B1504 color CMYK value is (0,22,85,89).

  • cyan value is 0.00%
  • magenta value is 22.22%
  • yellow value is 85.19%
  • key color value is 89.41%
CMYK:
(0,22,85,89)
C0M22Y85K89 
(0%,22%,85%,89%)
(0.00/0.22/0.85/0.89)	

CMYK percentages

%0
%22.22
%85.19
%89.41

Codes

Color #1B1504 in popluar color models

1B1504
RGB27214
HSL44°74.19%6.08%
HSB/HSV44°85.19%10.59%
CMYK0.00%22.22%85.19%
89.41%

Color #1B1504 in popluar number systems.

HEX1B1504
Decimal27214
Binary1101110101100
Octal33254

Shades and tints

Shades of #1B1504

#1B1504
(27,21,4)
#191404
(25,20,4)
#171304
(23,19,4)
#151204
(21,18,4)
#131104
(19,17,4)
#111004
(17,16,4)
#0F0F04
(15,15,4)
#0D0E04
(13,14,4)
#0B0D04
(11,13,4)
#090C04
(9,12,4)
#070B04
(7,11,4)
#000000
(0,0,0)

Tints of #1B1504

#1B1504
(27,21,4)
#2F2A1A
(47,42,26)
#433F30
(67,63,48)
#575446
(87,84,70)
#6B695C
(107,105,92)
#7F7E72
(127,126,114)
#939388
(147,147,136)
#A7A89E
(167,168,158)
#BBBDB4
(187,189,180)
#CFD2CA
(207,210,202)
#E3E7E0
(227,231,224)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #1B1504; }

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

This text font color is #1B1504.


Background Color

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

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

This div background color is #1B1504.


Border color

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

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

This div border color is #1B1504.


Opacity

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

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

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

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

This text has shadow with #1B1504 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #1B1504 on black background.


Color preview on white background

This text has color #1B1504 on white background.



Black color preview on #1B1504 background

This text has black color on #1B1504 background.


White color preview on #1B1504 background

This text has white color on #1B1504 background.