Convert a single hex byte (1β2 hex digits, optionally prefixed with #) into its decimal value.
This is handy when you work with color channels inside design tokens, CSS variables, or debugging raw byte streams.
How it works
A hex byte represents a value in base-16. For example, FF (hex) equals 255 (decimal).
The converter supports both 0A and A styles (e.g. #0a β 10).
When to use it
- Translate quick hex channel values into decimal numbers for scripts or spreadsheets.
- Debug API payloads that represent colors as hex bytes.
- Verify conversions when migrating between formats.
Limitations
Accepts only a byte-sized hex value (0βFF). It does not support full CSS colors like #RRGGBB; use the dedicated HEXβRGB tools for that.
Example
Input #7b β Output 123.