-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconvert.html
31 lines (29 loc) · 1.04 KB
/
convert.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Convert RGB to Hex Color</title>
</head>
<body>
<h1>Convert RGB to Hex Colors</h1>
<p>
This is a simple web tool to convert all RGB colors to Hex colors in your text. It is useful when you want to convert all RGB colors to Hex colors in your text. Supports a few formats of RGB colors.
</p>
<textarea id="rgb" placeholder="Enter RGB() color here">
(55, 73, 195) 22
RGB (246, 180, 4) 53
RGB(37, 212, 74) 21
rgb(238, 193, 242) 34
rgb (241, 41, 240) 34
RGB(189, 72, 231) 7
rgb (207, 160, 177) 10
RGB (151, 233, 126) 41
(215, 244, 24) 13
</textarea>
<br>
<textarea id="hex" placeholder="Hex color will appear here"></textarea>
<script type="text/javascript" src="convert.js"></script>
</body>
</html>