Skip to content

Instantly share code, notes, and snippets.

Created August 9, 2019 00:30
What would you like to do?
JavaScript RGB to HEX converter
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<title>RGB to HEX Converter</title>
<link href="" rel="stylesheet">
#container {
font-family: 'Inconsolata', monospace;
text-align: center;
width: 800px;
margin: 160px auto;
table {
width: 100%;
h1 {
margin-top: 100px;
font-size: 38px;
input[type="range"] {
width: 200px;
height: 50px;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment