Development

Build a Color Tool in Vanilla JavaScript

Intermediate
1h

By: James Q Quick

Build a Color Tool in Vanilla JavaScript

Overview

Build a cool color lighten/darken tool from scratch and sharpen up your HTML, CSS and vanilla JavaScript skills along the way!

Skills Learned

  • Check for a valid hex color
  • Convert hex to RGB
  • Display percentage from slider
  • Alter color by percentage
  • Create a toggle
  • Reset functionality
  • parseInt
  • textContent
  • Math.min and Math.max
  • HTML DOM style Property

Modules

1. Build a Color Tool in Vanilla JavaScript

Ready to Elevate Your Team's Learning?

Talk with our sales team to see how StormWind can transform the way your organization trains and grows.

CONTACT SALES