Created
December 21, 2016 19:36
-
-
Save luanrm/fad1bf6f38ab3d5cdee52d52f6aacb43 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var cores = [ | |
"#F44336", | |
"#E91E63", | |
"#9C27B0", | |
"#673AB7", | |
"#3F51B5", | |
"#2196F3", | |
"#03A9F4", | |
"#00BCD4", | |
"#009688", | |
"#4CAF50", | |
"#8BC34A", | |
"#CDDC39", | |
"#FFEB3B", | |
"#FFC107", | |
"#FF9800", | |
"#FF5722", | |
"#795548", | |
"#607D8B", | |
"#FF8A65", | |
"#FFB74D", | |
"#FFD54F", | |
"#AED581", | |
"#81C784", | |
"#4DB6AC", | |
"#7986CB", | |
"#9575CD", | |
"#BA68C8", | |
"#F06292", | |
"#F48FB1", | |
"#E57373", | |
]; | |
var css = document.getElementsByClassName("esg-click-to-play-video"); | |
for (x = 0; x < css.length; x++) { | |
css[x].style.color = cores[x]; | |
console.log(cores[x]); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment