RGB to HEX Converter
Type rgb(37, 99, 235), rgba with an alpha, or just three numbers, and get the HEX code, HSL, HSV and CMYK with the colour shown.
How to convert RGB to HEX
Write each of red, green and blue (0 to 255) as two hexadecimal digits and put them after a #. 37 is 25, 99 is 63 and 235 is EB, so rgb(37, 99, 235) is #2563EB. The converter does this as you type and also accepts plain "37 99 235".
RGB to HEX conversion table
rgb(255, 255, 255) is #FFFFFF; rgb(0, 0, 0) is #000000; rgb(255, 0, 0) is #FF0000; rgb(0, 128, 0) is #008000; rgb(0, 0, 255) is #0000FF; rgb(255, 255, 0) is #FFFF00; rgb(128, 0, 128) is #800080; rgb(192, 192, 192) is #C0C0C0.
RGBA to HEX (8-digit HEX)
With an alpha, the HEX code gets a fourth pair: rgba(37, 99, 235, 0.5) is #2563EB80. 8-digit HEX works in CSS in every current browser.
RGB, HEX and HSL explained
RGB and HEX are two ways of writing the same red, green and blue amounts. HSL describes the colour by hue, saturation and lightness. All three describe screen colour; CMYK is the separate model printers use.
Text to Result converter: free and online
Convert text to result in your browser: drop in a Text file and download the Result. The file is converted on your own device and never uploaded, so this text to result converter is safe for private and confidential files.
More conversions from Text: Text to PDF, Text to PDF, Text to PDF, Text to PDF, Text to PDF, Text to PDF.
Other conversions to Result: Text to Result, Text to Result, Text to Result, Text to Result, Text to Result, Text to Result.
People also search for
- text to result free
- text to result without losing quality
On the blog: RGB to HEX Converter: Steps, Tips and Mistakes to Avoid
Reviews
No reviews yet. Used this tool? Yours could be the first.
Used this tool? Sign in to write a review.
Something not right with this tool? Raise a support ticket and a person will look into it.
Questions
How do I convert Text to Result?
Drop your Text file on this page, check the preview, and press Download. The Result is made in a few seconds, with no sign-up.
Is my Text file uploaded anywhere?
No. The text to result conversion runs in your browser, on your own device. The file never leaves it.
What is rgb(0, 0, 0) in HEX?
#000000, which is black.
Does it accept percentages?
Use 0 to 255 values. A value outside the range is clamped to 0 or 255.
Can I pick a colour instead of typing?
Yes. Click the swatch to open the colour picker; the RGB and HEX values follow what you pick.