🎨 Colour Picker for CSS β€” HEX, RGB and HSL

Convert, compare and check contrast before it ships

ToolsDesign

Colour in CSS is easy to write badly. The same colour has three common representations, each convenient in a different situation, and converting between them by hand is the kind of arithmetic that produces a nearly-right shade and an afternoon of confusion.

Which format for which job

A conversion workflow

  1. Pick the colour visually, or paste the HEX you were given.
  2. Read off the RGB and HSL values from the colour picker.
  3. Copy the format your CSS actually uses β€” do not paste HEX into a field expecting channels.
  4. Store the base colour once as a CSS variable and derive variants with HSL adjustments.

Systematic variants beat eyeballed ones

Define a base hue and saturation, then vary lightness in steps β€” typically 10–15% for hover and active states. This produces a coherent palette instead of eleven almost-identical greens. Because HSL lightness is not perceptually uniform, check the result rather than assuming a 10% step looks like a 10% step.

Contrast is not optional

Text must be readable. WCAG's AA level asks for a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text; AAA asks for 7:1 and 4.5:1. The colour picker shows contrast against black and white so you can see immediately whether a chosen shade passes. Low-contrast grey-on-grey is the single most common accessibility failure in otherwise well-built interfaces.

Colour vision matters

About one in twelve men has some form of colour vision deficiency, most commonly red-green. Never encode meaning in hue alone β€” pair colour with an icon, a label or a pattern. A red/green status dot that is the only signal is unreadable for a meaningful share of your users, and it fails automated accessibility checks too.

Practical notes

Hexadecimal shorthand (#fff) expands to #ffffff and is safe in CSS but not in every tool β€” expand it before pasting into design software that expects six digits. Alpha is expressed as an eighth hex pair or a fourth channel, and semi-transparent whites for overlays behave very differently on light and dark backgrounds, so test both themes.

Related: the colour picker guide and free developer tools.

Frequently asked questions

How do I convert HEX to RGB?

Paste the HEX value into the colour picker and read the RGB channels, or split the six digits into three pairs and convert each from base 16. The tool does it instantly and also gives HSL.

Which CSS colour format should I use?

HEX for design tokens and handoff, RGB/RGBA when you need alpha per channel, and HSL for generating hover and accent variants programmatically.

What contrast ratio do I need?

WCAG AA requires at least 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1 and 4.5:1. Check the ratio before shipping a palette.

Is the colour picker free and private?

Yes β€” it runs in the browser with no signup, and the conversions happen locally.

Related

⚠️ Accuracy & no-responsibility note:
This page is provided for general information only. Telecom licensing rules, fees, bank guarantees (PBG/FBG), eligibility and timelines change frequently and can vary by category, service area and applicant. Information here may be incomplete, out of date, or inaccurate, and should not be relied upon for any decision. Always cross-check with the official Department of Telecommunications (DoT) / TRAI portal and independent legal or licensed advice before acting. This page is not legal, financial or professional advice and creates no obligation. The site owner & PodNet accept no responsibility or liability for any loss, penalty or damage arising from reliance on this content.
For updates on rates, rules and the current status, please contact us on WhatsApp only β€” +91 95916 79292.
πŸ‘€ 45,002 views Β· 69 tools used

PodNet.in Β· Files stored on temp.sh / gofile.io Β· No data saved on this server
File sharing Β· Pastebin Β· URL shortener Β· QR Β· Password Β· JSON Β· Counter Β· Color
Guides
πŸ“„ ISP Licence Documents Required (2026)πŸ› οΈ How to Apply for an ISP Licence in India🌐 ISP Category A LicenceπŸ—ΊοΈ ISP Category B LicenceπŸ’Έ VNO Licence Fees in India (2026)♻️ ISP Licence Renewal in IndiaπŸ“Ά Wi-Fi Service Provider Licence in India🌾 Telecom Licence for Rural Broadband in IndiaπŸ“ Free File Upload Up to 2GB🧩 Online JSON Formatter & ValidatorπŸ”— Free URL ShortenerπŸ“± Free QR Code GeneratorπŸš€ How to Start an Internet Service Provider in Indiaβœ… ISP Licence Eligibility & Net-Worth Requirements🏦 ISP Licence Bank GuaranteesπŸ–₯️ DoT Telecom eServices Portal☎️ OSP Registration in IndiaπŸ’¬ Bulk SMS in India🏒 ISP Licence for Apartment & Society Wi-FiπŸ§‘β€πŸ’Ό Telecom Licence ConsultantπŸ“ ISP Licence AmendmentπŸ“Ά VNO Category C LicenceπŸ“‹ Free Pastebin AlternativeπŸ” Free Online Password Generator🎨 Online Color Picker & Hex ConverterπŸ”€ Text Case ConverterπŸ“‘ Free QR Code for Wi-FiπŸ“€ How to Share Large Files Without EmailπŸ”’ Online Word & Character Counter🧰 Free Online Tools for Developers🏘️ ISP Licence for a Village or Gram PanchayatπŸ“Ί ISP Licence for Cable TV Operators (LCO Broadband)πŸŒ† ISP Licence for a Small Town or Districtβš–οΈ ISP Licence vs VNO Licence🧾 ISP Licence Annual Fees, MAF and Licence Fee on AGRπŸšͺ How to Surrender an ISP Licence in IndiaπŸ”„ ISP Licence Transfer, Acquisition & Ownership Change🀝 ISP Resellers, Franchisees and Local PartnersπŸ“Ά SACFA & WPC Clearance for Wireless ISPsπŸ—οΈ IP-I RegistrationπŸ›°οΈ Captive VSAT Licence in India⏱️ ISP Licence Timeline & Process in 2026⚠️ ISP Licence Penalties and Non-Compliance Risk🧡 ISP Licence vs ISP-C (Cable) RegistrationπŸ“ ISP Licence in KarnatakaπŸ“€ Send Large Files Free Without Signup (2026)⏳ Temporary File Links & ExpiryπŸ” Share Text Snippets SecurelyπŸ”— URL Shortener Use Cases That Actually MatterπŸ’³ QR Codes for UPI Payment LinksπŸ“‡ vCard QR CodesπŸ”‘ Strong Password Practices in 2026{ } JSON Validator{ } Pretty-Print API Responses & JSON LogsπŸ“ File Upload Limits and File Types ExplainedπŸ›‘οΈ No-Signup Online Tools and What They SeeπŸ’¬ Short Links for WhatsApp and SMS Campaigns✍️ Using a Word Counter for Writers and SEO🎨 Colour Picker for CSSπŸ–¨οΈ QR Code Print Size & Scanning ReliabilityπŸ” ISP Licence Security Conditions & Lawful InterceptionπŸ§ͺ TEC GR Certification & MTCTE for ISP EquipmentπŸ“‘ ISP Tariff Publication & TRAI ObligationsπŸͺͺ ISP Subscriber KYC, CAF & OnboardingπŸ“Ά PM-WANI Integration for ISPsπŸ”Œ ISP Upstream Bandwidth Cost, Peering & NIXI🧾 ISP Billing, RADIUS Accounting & GST Invoicing🌍 FDI in Telecom & ISP Licensing in IndiaπŸ“œ What Your ISP Licence Actually Permits (UL Scope)🚧 ISP Fibre Rollout