From 4ecff732de1ea728beb1c4e6019194695d650b4a Mon Sep 17 00:00:00 2001 From: Jonas <147330824+JONAT1NHA@users.noreply.github.com> Date: Sun, 4 Aug 2024 19:00:27 -0300 Subject: [PATCH] =?UTF-8?q?Adicionado=20novas=20predefini=C3=A7=C3=B5es=20?= =?UTF-8?q?de=20cores=20(#2)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 10 ++++++++-- script.js | 22 ++++++++++++++++++++-- 2 files changed, 28 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index c02b143..8de1c76 100644 --- a/index.html +++ b/index.html @@ -68,8 +68,14 @@ onchange="preset(this.value); updateOutputText(event); "> - - + + + + + + + + diff --git a/script.js b/script.js index 0ab40de..a0c3c0a 100644 --- a/script.js +++ b/script.js @@ -7,11 +7,29 @@ const presets = { colors: ["FF0000", "FF7F00", "FFFF00", "00FF00", "0000FF", "4B0082", "9400D3"], }, 2: { - colors: ["#AAFF99", "#73D1FF", "#FFB8B8", "#CD70FF"], + colors: ["#FFCA2C", "#FF7926"], }, 3: { + colors: ["#31FFF9", "#2F97DA"], + }, + 4: { + colors: ["#FF14E8", "#AA00AA"], + }, + 5: { + colors: ["#58ff82", "#21f9e6", "#7e8fff"], + }, + 6: { + colors: ["#AAFF99", "#73D1FF", "#FFB8B8", "#CD70FF"], + }, + 7: { + colors: ["#FF5555", "#AA0000"], + }, + 8: { + colors: ["#FF5A5A", "#FFA500", "#373232"], + }, + 9: { colors: ["#00AAAA", "#FFFF33", "#FFAA00", "#FF0000"], - } + }, } const formats = { 0: {