+
+
+
+
+
diff --git a/1-color-flipper/setup/hsl.js b/1-color-flipper/setup/hsl.js
new file mode 100644
index 000000000..5566a3af3
--- /dev/null
+++ b/1-color-flipper/setup/hsl.js
@@ -0,0 +1,31 @@
+/*
+ hsl(hue,saturation,light,alpha)
+ hsl(0 - 360, 0 -100%,0 - 100%,0 - 1)
+
+*/
+
+// get value for saturation and light (0-100)
+function getValues() {
+ let value = [];
+ for (let i = 0; i <= 100; i++) {
+ value.push(i);
+ }
+ return value;
+}
+
+//get values for hue (0 - 360)
+function getHueValues() {
+ let value = [];
+ for (let i = 0; i <= 360; i++) {
+ value.push(i);
+ }
+ return value;
+}
+
+// get values for alpha
+function getAlphaValues() {
+ return Math.random().toFixed(2);
+}
+
+// get all values in one array of color
+const hsl = [getHueValues(), getValues(), getValues(), [getAlphaValues(), 1]];
diff --git a/1-color-flipper/setup/rgb.html b/1-color-flipper/setup/rgb.html
new file mode 100644
index 000000000..52feed0e6
--- /dev/null
+++ b/1-color-flipper/setup/rgb.html
@@ -0,0 +1,39 @@
+
+
+
+
+
+ Color Flipper || rgb
+
+
+
+
+
+
+
+
+
+ background color :
+
+ #f1f5f8
+
+
+
+
+
+
+
+
+
+
+
diff --git a/1-color-flipper/setup/rgb.js b/1-color-flipper/setup/rgb.js
new file mode 100644
index 000000000..212cad8ba
--- /dev/null
+++ b/1-color-flipper/setup/rgb.js
@@ -0,0 +1,22 @@
+/*
+ rgb(red,green,blue,alpha)
+ rgb(0 - 255, 0 -255,0 - 255,0 - 1)
+
+*/
+
+// get values for red, green and blue (0-255)
+function getValues() {
+ let value = [];
+ for (let i = 0; i <= 255; i++) {
+ value.push(i);
+ }
+ return value;
+}
+
+// get value for alpha
+function getAlphaValues() {
+ return Math.random().toFixed(2);
+}
+
+// get all values in one array of color
+const rgb = [getValues(), getAlphaValues()];