Nerdulator> put something in

Base-16 literal

0xff

  • Base 16
  • 8 bits
  • = 255

0xff is a hexadecimal literal equal to 255 in decimal. It needs 8 bits (1 bytes) of storage, and is 0xFF in hexadecimal and 11111111 in binary.

In every base

Decimal255
Binary11111111
Octal377
HexadecimalFF
Base 327V
Base 3673
Prefixed literals0xff · 0o377 · 0b11111111

Bit width & storage

Significant bits8
Bytes needed1
Fits in 8 bitsYes
Fits in 16 bitsYes
Fits in 32 bitsYes
Fits in 64 bitsYes
Padded to 8 bits11111111
Padded to 32 bits00000000000000000000000011111111

Read another way

As an IPv4 address0.0.0.255
As a 24-bit colour#0000FF
As a Unicode code pointU+00FF, "ÿ"
As a byte count255 B
As a duration in seconds4 minutes and 15 seconds

Bitwise operations

NOT (32-bit)4,294,967,040
Shift left by 1510
Shift right by 1127
Population count8the number of set bits
Lowest set bit1

Keep nerding

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

Neighbouring values

Also reads as

U+00FF (unicode character)

  • U+00FF
  • ÿ
  • Lowercase letter

U+00FF is code point 255 (ÿ), a lowercase letter in the Latin-1 Supplement block of the Basic Multilingual Plane. It takes 2 bytes in UTF-8 and 1 unit in UTF-16.

Open this reading on its own page →

Identity

Code pointU+00FF
Decimal255
Characterÿ
General categoryLowercase letter
BlockLatin-1 Supplement
PlaneBasic Multilingual Planeplane 0
Official nameNot includedthe Unicode Character Database is not bundled; a stale copy would be worse than none

Encodings

UTF-8C3 BF2 bytes
UTF-1600FFa single unit
UTF-32000000FF
Binary11111111
Bytes in UTF-8 vs UTF-162 vs 2UTF-16 is not always smaller, even for non-Latin text

Writing it in code

HTML numeric entityÿ
HTML hex entityÿ
CSS escape\00FF
JavaScript\u00FF
Python\u00FF
Percent-encoded (URL)%C3%BF

Things that catch people out

JavaScript string length1
Needs a surrogate pairNo
Safe in a URL unescapedNo

Keep nerding

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

Nearby code points

Nerdulate something else

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