summaryrefslogtreecommitdiff
path: root/vtcol.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vtcol.rs')
-rw-r--r--vtcol.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/vtcol.rs b/vtcol.rs
index 7ce0b7f..6dbfac6 100644
--- a/vtcol.rs
+++ b/vtcol.rs
@@ -250,7 +250,7 @@ rgb_of_hex_triplet
let bytes = def.as_bytes();
let r : u8 = byte_of_hex!(bytes, 0);
let g : u8 = byte_of_hex!(bytes, 2);
- let b : u8 = byte_of_hex!(bytes, 3);
+ let b : u8 = byte_of_hex!(bytes, 4);
(r, g, b)
}