Nerdulator> put something in

Base-2 literal

0b1000

  • Base 2
  • 4 bits
  • = 8

0b1000 is a binary literal equal to 8 in decimal. It needs 4 bits (1 bytes) of storage, and is 0x8 in hexadecimal and 1000 in binary.

In every base

Decimal8
Binary1000
Octal10
Hexadecimal8
Base 328
Base 368
Prefixed literals0x8 · 0o10 · 0b1000

Bit width & storage

Significant bits4
Bytes needed1
Fits in 8 bitsYes
Fits in 16 bitsYes
Fits in 32 bitsYes
Fits in 64 bitsYes
Padded to 8 bits00001000
Padded to 32 bits00000000000000000000000000001000

Read another way

As an IPv4 address0.0.0.8
As a 24-bit colour#000008
As a Unicode code pointU+0008, a control character
As a byte count8 B
As a duration in seconds8 seconds

Bitwise operations

NOT (32-bit)4,294,967,287
Shift left by 116
Shift right by 14
Population count1the number of set bits
Lowest set bit8

Keep nerding

Every link below is a page Nerdulator can generate from what it already knows about this value.

The same value

Neighbouring values

Also reads as

#0B1000 (colour)

  • #0B1000
  • Green
  • Dark
  • Nearest: Black

#0B1000 is a green with RGB values 11, 16, 0 and HSL 79°, 100%, 3%. It is a dark colour, so white text on it reaches 19.3:1 contrast (AAA for normal text). The nearest named colour is Black.

Open this reading on its own page →

Colour values

#0B1000#0B1000
HEX#0B1000
RGBrgb(11, 16, 0)
RGB (0–1)0.0431, 0.0627, 0
RGB percentages4.3%, 6.3%, 0%
HSLhsl(78.8, 100%, 3.1%)
HSV / HSBhsv(78.8, 100%, 6.3%)
CMYK31.3%, 0%, 100%, 93.7%naive device-independent conversion; real print needs an ICC profile
24-bit integer724,992
CSS custom property--colour: #0B1000;

Brightness & contrast

Relative luminance0.00442WCAG 2.x, 0 is black and 1 is white
Perceived brightness13.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 19.3:1
Contrast with white19.3:1WCAG normal text: AAA
Contrast with black1.09:1WCAG normal text: Fail
Greyscale equivalent#0E0E0E
Inverted#F4EFFF

Colour vision & accessibility

Protanopia#120E00no red cones; affects about 1% of men; ΔE 3.4 from the original
Deuteranopia#110E01no green cones; the most common form, about 1% of men; ΔE 3.2 from the original
Tritanopia#0C0E0Cno blue cones; rare, and affects men and women equally; ΔE 6 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text19.3:1WCAG large text: AAA
Contrast with black, large text1.09:1WCAG large text: Fail

Named colours

Nearest named CSS colourBlack (#000000)ΔE 8.15, clearly different but related
Hue familygreen
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#050010
Analogous#100D00, #031000
Triadic#000B10, #10000B
Split complementary#000310, #0D0010
Tetradic#00100D, #050010, #100003

Tints, shades & saturation

Lighter +40%#97DC00
Lighter +30%#74A900
Lighter +20%#517600
Lighter +10%#2E4300
Darker −10%#000000
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#0B1000
Less saturated −25%#0A0E02

Channel breakdown

R11
G16
B0
Red11 (4.3%)
Green16 (6.3%)
Blue0 (0%)
Hue78.75°
Saturation (HSL)100%
Lightness3.14%
Dominant channelGreen
Hex per channelR 0B · G 10 · B 00

Keep nerding

Every link below is a page Nerdulator can generate from what it already knows about this value.

Nerdulate something else

Nothing in mind? Surprise me · today’s page

Every value on this page was computed from “0b1000” by Nerdulator’s computing engine. Nothing here was retrieved from a database of answers or written by a model.