/*
Random *
this function will generate a random * colour using some random thresholds that are within the * colour band.


args:
    
returns:
    String -> a hex code for the colour that has been generated

//TODO maybe see if i can make it deal with single hex values. rather than starting at 17
*/
Random
this function will generate a random * colour using some random thresholds that are within the * colour band.



> a hex code for the colour that has been generated


Random this function will generate a random * colour using some random thresholds that are within the * colour band . > a hex code for the colour that has been generated
pub fn random_red() -> String {
    let red :String = format!("{:X}",random_value(255, 120));
    let green :String = format!("{:X}", random_value(70,17));
    //println!("red : {}", red);
    //println!(" green: {}", green);
    let end :String = format!("{}{}{}",red, green , green);
    println!("{}", end);
    return end;
}
pub fn random_red ( ) -> String { let red : String = format ! ( " " random_value ( 255 120 ) ) ; let green : String = format ! ( " " random_value ( 70 17 ) ) ; //println!("red : {}", red); //println!(" green: {}", green); let end : String = format ! ( " " red green green ) ; println ! ( " " end ) ; return end ; }
Random
this function will generate a random * colour using some random thresholds that are within the * colour band.
Random this function will generate a random * colour using some random thresholds that are within the * colour band .