Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix test
  • Loading branch information
RuboGubo committed Jul 16, 2024
commit 3e37a902db56fed8a89d607bc44c2d59ef00144f
2 changes: 1 addition & 1 deletion examples/custom_colors.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use colored::*;
fn main() {
let my_color = CustomColor::new(0, 120, 120);
let my_color = RGB::new(0, 120, 120);
println!("{}", "Greetings from Ukraine".custom_color(my_color));
println!("{}", "Slava Ukraini!".on_custom_color(my_color));
println!("{}", "Hello World!".on_custom_color((0, 120, 120)));
Expand Down