Back to Browse

Generate random colors with JavaScript

3.4K views
Aug 7, 2021
6:21

In this video, I show you three ways of generating random colors using JavaScript, for use across your web development projects. 00:16 - generate completely random colors 01:48 - generate only nice colors 04:07 - generate colors of a specific hue or luminosity 05:32 - generate colors based on a hex code 🌈 Link to RandomColor: https://randomcolor.lllllllllllllllll.com/ -- const me = { name: "Leanne 👩🏻", passions: ["coffee☕️", "code 💻", "cats 🐱"], unpopular_opinion: "LOVES CSS ❤️", favorite_colors: ["hotpink", "orangered"], channel_aim: "Show the world that CSS is fun and web development rules! 👑" } -- 🐤 Say hi on Twitter: https://twitter.com/RybaLeanne 🤺 Join the Scrimba Weekly Web Dev Challenge: https://scrimba.com/learn/weeklychallenge

Download

1 formats

Video Formats

360pmp48.7 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Generate random colors with JavaScript | NatokHD