CSSカラーと単位の理解 HEX、RGB、HSLカラーフォーマット CSSは複数のカラーフォーマットをサポートしています。 <strong>RGB</strong>は各チャンネルに0〜255の10進数値を使用します。 <strong>HSL</strong>はデザイナーにとって最も直感的です。 CSS Named Colors CSS provides 147 named colors like coral, steelblue, and rebeccapurple. While convenient for prototyping, named colors offer limited precision. Converting a CSS color name to HEX or RGB gives you exact values you can fine-tune for production use. 印刷デザインのCMYK <strong>CMYK</strong>は印刷の標準カラーモデルです。 デザインツールのHSV <strong>HSV</strong>はPhotoshop、Figma、Sketchのネイティブカラーモデルです。 PX vs REM: CSS単位の解説 <strong>ピクセル(PX)</strong>は絶対単位です。 ピクセルを16で割ってREM値を求めます。 <strong>EM単位</strong>はルートではなく親要素のフォントサイズに相対的です。 1rem = 16px (default browser setting) 1em = parent font-size (context-dependent) 0.75rem = 12px — common for small/caption text 1.25rem = 20px — common for subheadings 2rem = 32px — common for section headings なぜCSSコンバーターを使うのか? 手動での変換は面倒でエラーが起きやすいです。 Instant results — paste a value and get the converted output immediately, no formulas needed. Copy-ready output — every result includes a one-click copy button with properly formatted CSS syntax. Color preview — see a live swatch of the converted color to visually confirm accuracy. No installation — works in any browser, on any device. No extensions, downloads, or signups. Developer-friendly — shareable URLs with pre-filled values for easy team collaboration. Common CSS Conversion Workflows Design handoff: Figma and Sketch export colors as HEX. Convert to RGB or HSL if your codebase uses those formats. Dark mode generation: Take your light-mode HSL palette, adjust lightness values, and convert back to HEX. Accessibility checks: Convert colors to RGB to calculate contrast ratios using the WCAG luminance formula. Legacy migration: Convert pixel-based layouts to rem-based responsive systems during refactors. Cross-browser debugging: Quickly convert colors to match your source code format. Supported Conversions From To Category HEXRGB, HSL, RGBA, CSS NameColor RGBHEX, HSLColor HSLHEX, RGBColor RGBAHEXColor CSS NameHEX, RGB, HSLColor PXREMUnit REMPXUnit