Skip to content

Commit 7620863

Browse files
author
Calvin Tennant
committed
Opacity
1 parent f07b280 commit 7620863

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

particles.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@ function launchParticlesJS(tag_id, params){
217217
}
218218
else if( pJS.particles.color_random instanceof Array){
219219
this.color = pJS.particles.color_random[Math.floor(Math.random() * pJS.particles.color_random.length)];
220+
this.color = hexToRgb(this.color);
220221
}
221222
else{
222223
this.color = color;

0 commit comments

Comments
 (0)