Random Color generator in Javascript

Posted by n00ki3 on Stack Overflow See other posts from Stack Overflow or by n00ki3
Published on 2009-09-27T21:17:44Z Indexed on 2010/04/13 12:43 UTC
Read the original article Hit count: 339

Filed under:
|

Hi there,

i am not an Javascript and i need a little help. Given this function , i want to replace the color with an Random Color generator.

document.overlay = GPolyline.fromEncoded({color: "#0000FF",
                                          weight: 10,
                                          points: encoded_points,
                                          zoomFactor: 32,
                                          levels: encoded_levels,
                                          numLevels: 4
                                         });

Can anyone help me ?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about colors