PDFのミカタ

色コード(#RRGGBB)とは?

公開日:2026年10月19日|最終更新:2026年10月19日|運営者情報

この記事のポイント
  • #のあとに6文字
  • 赤・緑・青の順
  • RGBでも表せる

ウェブやデザインで、色を表すときによく見る、「#FF0000」のような文字。これが色コードです。画像から色コードを調べる で調べた色は、この形で表示されます。

色コードとは

色を、赤(R)・緑(G)・青(B)の、3つの光の量で表したものです。それぞれ0〜255の数を、16進数の2桁(00〜FF)で書き、「#」を付けて並べます。

例

手順(調べる)

  1. 「画像を選ぶ」で、画像を選びます。
  2. 画像の上を、タップ(クリック)します。
  3. 表示された色コードの横の「コピー」を押します。
  4. 「コピーしました」と出たら、貼り付けます。
色コードは、画面の色を数値にしたものです。印刷では、色の見え方が違うことがあります。

16進数とは

0〜9に加えて、A〜F(10〜15)を使う、16を基本とする数え方です。2桁で、0〜255を表せます。

どこで使うか

短い書き方

「#FFAA00」のように、2桁が同じ組み合わせなら、「#FA0」と短く書けることがあります。使うアプリによって、対応が違います。通常は、6桁で入力するのが確実です。

つまずきやすい点

よくある質問

色名(赤、青など)で指定できますか?

アプリによっては可能です。細かい色を指定するなら、色コードが確実です。

まとめ

色コードは、#と6桁の文字で色を表す書き方。コピーして、そのまま貼り付けて使えます。

画像から色コードを調べるを使う(無料)

あわせて使えるツール

この解説が役に立ったら、応援してもらえるとうれしいです。

応援する(300円)ほしい物リストで応援

同じツールの、ほかの解説

解説の一覧を見る

What Is a Color Code (#RRGGBB)?

Published: Oct 19, 2026 | Updated: Oct 19, 2026 | About (Japanese)

Key points
  • Six characters after #
  • Red, green, blue in order
  • Also written as RGB

The strings like "#FF0000" often seen on the web and in design are colour codes. Colours found with Pick Color Codes from an Image are shown in this form.

What a colour code is

A way to express a colour as the amounts of three lights: red (R), green (G) and blue (B). Each is a number from 0 to 255, written as two hexadecimal digits (00–FF), lined up with a "#".

Examples

Steps (finding one)

  1. Choose an image with "Choose an image".
  2. Tap (click) on the image.
  3. Press "Copy" next to the colour code shown.
  4. When "Copied" appears, paste it.
A colour code is the on-screen colour expressed as numbers. In print, the colour may look different.

What hexadecimal is

A way of counting based on 16, using A–F (10–15) in addition to 0–9. Two digits can express 0–255.

Where it is used

Short notation

If each pair of digits is the same, as in "#FFAA00", it can sometimes be written short as "#FA0". Support differs by app. Entering six digits is usually safest.

Common stumbling blocks

Frequently asked questions

Can I specify by colour name (red, blue and so on)?

Possible in some apps. For fine colours, colour codes are more reliable.

Summary

A colour code is a notation of "#" and six characters. Copy it and paste it as it is.

Use "Pick Color Codes from an Image" (free)

Tools that go well with this

If this guide helped, a small tip would mean a lot.

Send a tip (¥300)Send a gift (Amazon wishlist)

More guides for this tool

See all guides