Convert Hex to Flutter Dart Color

Transform CSS #Hex codes into idiomatic Flutter Color(0xAARRGGBB) and ThemeData constants with correct Dart ARGB byte order.

0 bytes sent
  • 100% browser-local
  • Zero server transfers
  • CSS Color 4 precision

or drop a color string, CSS/JSON snippet, or file here · Ctrl V to paste · Paste Hex, RGB, HSL, OKLCH or use Screen Eyedropper

Instant Before & After Specimen

Flutter ARGB 0xAARRGGBB Literal
Input Samplebrand.hex
#2563EB
Expected OutputOUTPUT
const Color kBrandColor = Color(0xFF2563EB);
// Color.fromARGB(255, 37, 99, 235)

How to use Hex to Flutter Color

Hex to Flutter Color — cleanly inside your local browser with zero server transfers.

  1. Enter or pick a colorType Hex, RGB, HSL, OKLCH, or Lab — or click Screen Eyedropper and live sliders.
  2. Inspect math & gamutReview exact CSS Color 4 readouts, sRGB vs Display P3 status, and profile options.
  3. Copy, chain, or exportCopy ready CSS/JSON snippets, download binary swatch files, or pipe directly to related Colr tools.
Format specs:HEX (.css / .txt)

Frequently asked questions

Does Flutter also use 0xAARRGGBB like Android?

Yes — Dart's Color constructor places alpha in the highest byte (0xFF for opaque); Colr converts CSS #RRGGBBAA cleanly.

Can I paste multiple colors for Material Design ThemeData?

Use Batch Color Converter or paste single colors to generate copy-ready Dart constants.