PDFのミカタ

CSSで使う色の書き方

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

この記事のポイント
  • 色を入れる
  • 形式を選ぶ
  • CSSに貼る

色コード変換 の結果は、そのままCSSに貼れる形です。

手順

  1. 色を入れる
  2. 形式を選ぶ
  3. CSSに貼る
どの形式でも、ブラウザでは同じ色に見えます。
色コード変換(HEX・RGB・HSL)を使う(無料)

あわせて使えるツール

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

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

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

解説の一覧を見る

Writing Colors in CSS

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

Key points
  • Enter a color
  • Pick a format
  • Paste it into CSS

The results from Color Converter can be pasted straight into CSS.

Steps

  1. Enter a color
  2. Pick a format
  3. Paste it into CSS
Every format looks the same color in the browser.
Use "Color Code Converter (HEX, RGB, HSL)" (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