-
-
Save bytefade/9b62ecc51d2d3a9074bf9f16a1ae5f7e to your computer and use it in GitHub Desktop.
This file contains hidden or 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