COLOR #540000

HEX: #540000
RGB: (84,0,0)

Color info

#540000 contains only red color. Web safe color of #540000 is #660000 (or #600).

RGB color model

#540000 color RGB value is (84,0,0).

  • red value is 84;
  • green value is 0;
  • blue value is 0.
RGB:
(84,0,0)
(33%,0%,0%)

RGB channels and saturation

R 84 of 255 = 33%
G 0 of 255 = 0%
B 0 of 255 = 0%

84
0
0

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

Portions of RGB colors in percentages

R + G + B =
84 + 0 + 0 = 84 (100%)
R 84 of 84 ~ 100%
G 0 of 84 ~ 0%
B 0 of 84 ~ 0%

%100

CMYK color model

#540000 color CMYK value is (0,100,100,67).

  • cyan value is 0.00%
  • magenta value is 100.00%
  • yellow value is 100.00%
  • key color value is 67.06%
CMYK:
(0,100,100,67)
C0M100Y100K67 
(0%,100%,100%,67%)
(0.00/1.00/1.00/0.67)	

CMYK percentages

%0
%100
%100
%67.06

Codes

Color #540000 in popluar color models

540000
RGB8400
HSL100.00%16.47%
HSB/HSV100.00%32.94%
CMYK0.00%100.00%100.00%
67.06%

Color #540000 in popluar number systems.

HEX540000
Decimal8400
Binary101010000
Octal12400

Shades and tints

Shades of #540000

#540000
(84,0,0)
#4D0000
(77,0,0)
#460000
(70,0,0)
#3F0000
(63,0,0)
#380000
(56,0,0)
#310000
(49,0,0)
#2A0000
(42,0,0)
#230000
(35,0,0)
#1C0000
(28,0,0)
#150000
(21,0,0)
#0E0000
(14,0,0)
#000000
(0,0,0)

Tints of #540000

#540000
(84,0,0)
#631717
(99,23,23)
#722E2E
(114,46,46)
#814545
(129,69,69)
#905C5C
(144,92,92)
#9F7373
(159,115,115)
#AE8A8A
(174,138,138)
#BDA1A1
(189,161,161)
#CCB8B8
(204,184,184)
#DBCFCF
(219,207,207)
#EAE6E6
(234,230,230)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #540000 color. Also use rgb(84,0,0) instead hex code.

Text Font Color

.myTextColor { color: #540000; }

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

This text font color is #540000.


Background Color

.myBgColor { background-color: #540000; }

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

This div background color is #540000.


Border color

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

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

This div border color is #540000.


Opacity

.myOpacity80 { color: #540000; opacity: 0.8; }

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

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

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

This text has shadow with #540000 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #540000 on black background.


Color preview on white background

This text has color #540000 on white background.



Black color preview on #540000 background

This text has black color on #540000 background.


White color preview on #540000 background

This text has white color on #540000 background.