From the course: CSS Shorts

Unlock this course with a free trial

Join today to access over 22,500 courses taught by industry experts.

Color functions in Sass and LESS

Color functions in Sass and LESS - CSS Tutorial

From the course: CSS Shorts

Color functions in Sass and LESS

- [Instructor] Hi, this is Chris Converse and in this episode, we'll be taking a look at adjusting colors in CSS using both SASS and LESS. Now when designing your project, you probably have some colors you want to use to defined either in a creative brief or in a style or branding guide. Using SASS or LESS will allow you to define a color, then adjust that color's properties with built in color functions. This will give you a quick and consistent way to define colors and generate new colors, based on the rules of your project. So if you'd like to follow along with me, download the exercise files and let's take a look at what's included. Now in the exercise files, there's a SASS file which is .scss which is written in the SASS css syntax and the LESS file. Each of these files is set to compile into the style.css file. And since I'm using code kit to compile my SASS and LESS files, I also have a code kit file here which is not included in your files. And typically, you would only either…

Contents