Random Color Picker Generator Made With jQuery and SCSS

Color Picker is a modern picker app that generates random colors and allows users to copy color codes (HEX or RGB) in a modal popup.

How to make use of it:

1. Download the necessary Font Awesome for the copy icon.

<link rel="stylesheet" href="/path/to/cdn/font-awesome/all.min.css" />

2. Create HTML for the color palette.

<div class="container">

  <div class="section" id="one">
    <span class="copyBtn" id="copyBtn1"><i class="fas fa-copy"></i></span>
    <p class="hexCode" id="hexCode1"></p>
    <p class="rgbCode" id="rgbCode1"></p>

  <div class="section" id="two">
    <span class="copyBtn"><i class="fas fa-copy" id="copyBtn2"></i></span>
    <p class="hexCode" id="hexCode2"></p>
    <p class="rgbCode" id="rgbCode2"></p>

  <div class="section" id="three">
    <span class="copyBtn"><i class="fas fa-copy" id="copyBtn3"></i></span>
    <p class="hexCode" id="hexCode3"></p>
    <p class="rgbCode" id="rgbCode3"></p>

  <div class="section" id="four">
    <span class="copyBtn"><i class="fas fa-copy" id="copyBtn4"></i></span>
    <p class="hexCode" id="hexCode4"></p>
    <p class="rgbCode" id="rgbCode4"></p>
  <div class="section" id="five">
    <span class="copyBtn"><i class="fas fa-copy" id="copyBtn5"></i></span>
    <p class="hexCode" id="hexCode5"></p>
    <p class="rgbCode" id="rgbCode5"></p>


3. Generate the HTML for the color picker terms.

<div class="modal">
  <div class="modalContent">
    <h3>Copy Code</h3>
    <div class="content" id="modalContent">
        <p>HEX <span>#333333</span> <span class="copyBtn"><i class="fas fa-copy"></i></span></p>
        <p>RGB <span>250,00,057</span><span class="copyBtn"><i class="fas fa-copy"></i></span></p>
      <div class="colorPreview" ></div>
    <i class="fas fa-times closeBtn"></i>

4. Load the main script after jQuery.

<script src="/path/to/cdn/jquery.min.js"></script>
<script src="/path/to/assets/js/main.js"></script>

5. Load the compiled style sheet into the document.

<link rel="stylesheet" href="assets/scss/style.css" />

Random Color Generator & Picker With jQuery And SCSS Plugin/Github, random color generator app

See Demo And Download

Official Website(Amirmahdi-Kaheh): Click Here

This superior jQuery/javascript plugin is developed by Amirmahdi-Kaheh. For extra Advanced Usage, please go to the official website.

Related Posts


Responsive Image Gallery Lightbox jQuery Plugin | VenoBox

VenoBox is a responsive jQuery modal window plugin suitable for images, embedded content, iFrames, Google Maps, Vimeo, and YouTube videos. The big difference compared to many other…


[Animation] Bootstrap Multi-Level Responsive Dropdown Menu

Bootstrap-based multi-level dropdown navigation menu with cool animations. The dropdown on Hover is a jQuery plugin used to create Bootstrap multi-level scroll-triggered dropdown menus with CSS3 animations…


Google Translate Dropdown Customize With Country Flag | GT API

Flag google translates jQuery text that takes advantage of the Google Cloud Translation API to translate web content between languages by selecting a country from the dropdown…


HTML 5 File Input Optimized for Bootstrap 4.x./3.x with File Preview | Bootstrap Fileinput

bootstrap-fileinput is an improved HTML 5 file input  Bootstrap 5.x, 4.x and 3.x with file preview for different files, provides multiple selections, resumable section uploads, and more….


How to Add Floating Whatsapp Chat Button In HTML | venom-button

Venom Button is a very simple plugin for the jQuery floating WhatsApp button. Adds a floating button to your site that calls WhatsApp Click to Chat API. It will automatically start the WhatsApp…


Bootstrap 4 Sidebar Menu Responsive Template | MDB

Bootstrap Side Navbar – Responsive sidebar template based on the Bootstrap 4 framework. An easy-to-use, totally responsive, Google Material Design impressed aspect navigation for modern web app…

Leave a Reply

Your email address will not be published. Required fields are marked *