CS
cs
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
///////////////////////////////////
// Color to Hex and Hex to Color //
// Written by S-Coder. //
// Version 1.0. //
///////////////////////////////////
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
/*
Hi there! 💛 I'm introducing:
The Converter for Hexadecimal values and colors.
How to use this program:
In the first line type either Color or Hex to convert.
If you type Hex: your Hex Value (i. e. #000000) will
be converted to a Color Value (i. e. 0,0,0)
If you type Color, your Color Value will be converted to
a Hex Value.
For example:
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run