Skip to content

A suite of random but useful functions that are aimed at giving you 'piece of cake' level comfortability.

License

Notifications You must be signed in to change notification settings

cerebrusinc/qolrus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

qolrus logo

qolrus

A suite of random but useful functions that are aimed at giving you 'piece of cake' level comfortability.

This is a port of the following packages:

Any suggestions or fixes needed can be submitted here.

Functions

random_color

Generate a random colour.

Example

use qolpy::{random_colour, ColourType};

fn main() {
    let colour: String = random_colour(ColourType::HEX);
    println!("The colour is: '{}'", colour)
    // The colour is: '#f7f7f7'
}

Availabe (ENUM) colour types

  • HEX
  • RBG
  • CMYK
  • HSV
  • HSL

About

A suite of random but useful functions that are aimed at giving you 'piece of cake' level comfortability.

Topics

Resources

License

Stars

Watchers

Forks

Languages