メインコンテンツへスキップ
Z

What is Hexadecimal?

Hexadecimal is a base-16 number system using digits 0-9 and letters A-F to represent values ten to fifteen. Each hex digit maps to exactly four binary bits, so it is a compact, human-readable way to write binary data such as colours, memory addresses, bytes and hashes.

Because 16 is 2⁴, one hex digit equals four binary digits and one byte is exactly two hex digits. So the byte 11111111 in binary is FF in hex (255 in decimal). Hex is often prefixed with 0x.

It is used for colour codes (#FF8800), memory addresses, MAC addresses, byte dumps and hash digests — anywhere bytes need a short, readable representation.

Hexadecimal tools

よくある質問

HEXはアルファチャンネルに対応していますか?

はい。アルファのスイッチをオンにすると、HEXは8桁表記(#RRGGBBAA)に拡張されます。この形式はモダンブラウザやほとんどのデザインツールで扱えます。

HSLやHSVの値が丸められてしまうのはなぜですか?

見やすさのため、表示上は各チャンネルの値を整数パーセントに丸めています。内部の計算は完全な精度で保持されているので、RGBに戻したときも元のバイト値が正しく再現されます。

CMYKの色が印刷用ソフトと少し違って見えます。

ブラウザや大半のオンライン変換ツールは、簡易的なRGB↔CMYK変換式を使用しています。実際の印刷結果はICC、GRACoL、FOGRAなどのカラープロファイルに左右されるため、このツールの値はあくまで画面上での目安として使ってください。

HEXとRGBの変換だけできれば十分なのですが?

このツールは5つの形式すべてに対応していますが、素早く変換したいだけの場合は、一番上の行にHEX値を貼り付け、2番目の行のRGB値を読み取るだけで構いません。