Translate this code into proper Rust:
enum Color
  Red
  Green
  Blue

fn add(a: i32, b: i32) -> i32
  a + b

fn main()
  let num = add(3, 4);
  println!("{num}");