仕組みと内部処理
Type or paste a colour such as #3b82f6, rgb(59 130 246), hsl(217 91% 60%) or tomato. The tool shows the same colour in every format and its contrast against white and black.
使い方ステップ
Paste a colour in any format.
Copy the format you need.
Check the contrast ratio.
主な機能と特長
- HEX, RGB, HSL, OKLCH
- Alpha channel
- WCAG contrast ratio
- CSS colour names
計算ロジック・仕様・技術基準
Colours are parsed to sRGB, then converted to HSL and OKLCH. Contrast uses the WCAG relative luminance formula.
入出力の例・エッジケース
#3b82f6
HSL
hsl(217, 91%, 60%)
仕様上の制限・精度に関するご注意
- • Colours outside the sRGB gamut, such as display-p3, are not supported.
- • Rounded values can differ by 1 when converted back.
ブラウザ内ローカル処理とプライバシー保護
一般的なWebツールは文書やメディアを外部サーバーへ送信します。カラーフォーマット変換ツール (HEX, RGB, HSL, OKLCH) はお使いのブラウザタブ内のみで完結します:
入力テキストやファイルは端末内で処理され、外部の処理サーバーへアップロードされません。
作業内容や貼り付けたデータを保存・記録しません(通常の静的配信CDNリクエストのみ発生します)。
作業データはタブ内のメモリ上のみに保持され、リセットまたはタブを閉じると破棄されます。
よくある質問 (FAQ)
What is OKLCH?
A perceptual colour space where equal lightness steps look equal, now supported in modern CSS.
Is anything uploaded?
No. Everything runs in your browser and your data stays on your device.