Skip to content
$TinyFreeTools
Tools
IMImage toolsImage compressor11PDPDF toolsMerge PDF11QRQR toolsQR code generator2COColor & CSS toolsColor converter7DEDeveloper toolsJSON formatter & validator14TEText toolsWord & character counter7COConverters & calculatorsAspect ratio calculator7DADate & time toolsWorld clock converter8
Images
Featured tools
  • IMImage compressorCompress JPEG, PNG, WebP, and AVIF images in batches toward a chosen file-size target.
  • IMImage resizerResize an image by pixels or choose 25%, 50%, 75%, or 100% while preserving its proportions.
  • IMImage format converterConvert JPEG, PNG, WebP, and AVIF images to WebP, JPEG, PNG, or AVIF when the selected encoder is supported.
Other Images tools
  • Image cropper
  • Rotate & flip image
  • Remove image metadata
  • Image watermark
  • Favicon generator
  • Social image resizer
  • EXIF metadata viewer
  • Blur or pixelate an image
All 11 Images tools
PDF
Featured tools
  • PDMerge PDFCombine multiple PDF files into one document in the order you choose.
  • PDSplit & extract PDF pagesExtract a page range or selected pages from a PDF into a new document.
  • PDImages to PDFPlace JPG or PNG images into a single PDF with automatic page sizing.
Other PDF tools
  • Organize PDF pages
  • Rotate PDF pages
  • Watermark PDF
  • Add PDF page numbers
  • Remove PDF metadata
  • Crop PDF
  • PDF to image
  • Compress PDF
All 11 PDF tools
QR
Featured tools
  • QRQR code generatorCreate QR codes for links, text, Wi-Fi, contacts, email, SMS, events, menus, and review pages.
Other QR tools
  • QR code scanner
All 2 QR tools
Color
Featured tools
  • COColor converterTranslate colors between HEX, RGB, HSL, HSV, and OKLCH values.
  • COWCAG contrast checkerMeasure the contrast ratio between text and background colors.
  • COColor palette generatorGenerate a coordinated palette from a base color using predictable color relationships.
Other Color tools
  • Image color picker
  • CSS gradient generator
  • CSS box-shadow generator
  • CSS filter generator
All 7 Color tools
Developer
Featured tools
  • DEJSON formatter & validatorValidate JSON, format it with readable indentation, or minify it for transport.
  • DERegex testerTest a JavaScript regular expression against sample text with flags and match details.
  • DEUUID generatorGenerate one or many cryptographically random version 4 UUIDs.
Other Developer tools
  • JSON diff
  • YAML ↔ JSON converter
  • CSV ↔ JSON converter
  • Base64 & URL encoder
  • JWT decoder
  • UTM campaign URL builder
  • Markdown preview
  • Number base converter
  • HTML entity encoder
  • Password generator
  • File checksum verifier
All 14 Developer tools
Text
Featured tools
  • TEWord & character counterCount words, characters, sentences, paragraphs, lines, and estimated reading time.
  • TECase converterConvert text to upper, lower, title, sentence, camel, Pascal, snake, or kebab case.
  • TEText difference checkerCompare two pieces of text line by line and highlight additions and removals.
Other Text tools
  • URL slug generator
  • Remove duplicate lines
  • Whitespace cleaner
  • Reading time calculator
All 7 Text tools
Convert
Featured tools
  • COAspect ratio calculatorCalculate a missing width or height while preserving an image or video ratio.
  • COPX ↔ REM converterConvert CSS pixel and rem values using a configurable root font size.
  • COData size converterConvert bytes across decimal KB/MB/GB and binary KiB/MiB/GiB units.
Other Convert tools
  • DPI & PPI calculator
  • Paper size converter
  • Recipe scaler
  • Cooking unit converter
All 7 Convert tools
Date & time
Featured tools
  • DAWorld clock converterSee the current time in cities worldwide, or convert a chosen time across time zones.
  • DAMeeting time plannerCompare a proposed meeting time across several world time zones.
  • DAUnix timestamp converterConvert Unix seconds or milliseconds to a readable date and back again.
Other Date & time tools
  • Date difference calculator
  • Date add subtract calculator
  • Business days calculator
  • Age calculator
  • Countdown timer
All 8 Date & time tools
EN
ENEnglishESEspañolFRFrançais
Guide · Color & CSS tools

How to get the hex code of a color from an image

Matching a brand color from a logo, or borrowing a shade from a photo you love, starts with the exact hex value. Load the image, click the pixel, and copy the code straight into your CSS or design tool.

Open the free image color picker →Free · no signup · no watermarks

Step by step

01

Open the image color picker

Start the free picker — it works with photos, logos, and screenshots.

02

Load your image

Drop in the file that contains the color you want.

03

Click the exact spot

Zoom in if needed and click the pixel; the picker reads that precise point.

04

Copy the hex code

Grab the hex, RGB, or HSL value and paste it into your project.

Tips that save a second try

↳
Tip 01

Logos often use slight gradients — sample two or three nearby pixels and pick the value that appears most.

↳
Tip 02

Screenshots of a screen are more accurate than photos of a screen, which shift colors with lighting.

↳
Tip 03

Build a small palette by sampling the image's main areas, then check your text contrast before shipping the design.

Common questions

Why does the hex code differ from the official brand color?

Compression and display rendering can shift pixel values slightly. When an official brand guide exists, treat the sampled value as a close starting point and confirm against the published palette.

What is the difference between hex and RGB?

They describe the same color in different notations: hex packs red, green, and blue into one #RRGGBB string, while RGB lists the three numbers separately. Use whichever your tool or stylesheet expects.

Ready to do it? Image color picker → · More color & css tools · All guides

$TinyFreeTools

Useful little tools that do the job and respect your files.

Private by design

Toolbox

ImagesPDFQRColorDeveloperTextConvertDate & time

About

About the projectSupportGuidesPrivacyTermsContact
© 2026 TinyFreeToolsYour files stay private — and the tools stay free.