Skip to content

Instantly share code, notes, and snippets.

@orderedlist
Created July 9, 2012 18:42
Show Gist options
  • Save orderedlist/3078152 to your computer and use it in GitHub Desktop.
Save orderedlist/3078152 to your computer and use it in GitHub Desktop.
Simple Label Colors with SCSS
$start-color:#2B73A2;
$number: 12;
@for $i from 1 through $number {
.label-#{$i} {
color:adjust_hue($start-color, ($i - 1) * (360 / $number));
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment