Change color packing to match target format
diff --git a/piet-scene/src/brush/color.rs b/piet-scene/src/brush/color.rs
index b9cbe52..ef519ec 100644
--- a/piet-scene/src/brush/color.rs
+++ b/piet-scene/src/brush/color.rs
@@ -48,10 +48,6 @@
         )
     }
 
-    pub fn pack(self) -> u32 {
-        (self.b as u32) << 24 | (self.g as u32) << 16 | (self.r as u32) << 8 | self.a as u32
-    }
-
     pub fn to_premul_u32(self) -> u32 {
         let a = self.a as f64 / 255.0;
         let r = (self.r as f64 * a) as u32;
diff --git a/piet-scene/src/main.rs b/piet-scene/src/main.rs
index b1b777b..f0f6e30 100644
--- a/piet-scene/src/main.rs
+++ b/piet-scene/src/main.rs
@@ -306,7 +306,7 @@
     //b.push_transform(Affine::translate(200., 200.) * Affine::rotate(45f32.to_radians()));
     b.fill(
         Fill::NonZero,
-        // &Brush::Solid(Color::rgba8(0, 255, 0, 255)),
+        // &Brush::Solid(Color::rgba8(255, 0, 0, 255)),
         &radial,
         None, //Some(Affine::rotate(90f32.to_radians())),
         Rect {
@@ -354,33 +354,3 @@
     rc.draw_text(&layout, Point::new(110.0, 50.0));
 }
 
-// use piet_scene::geometry::*;
-// use piet_scene::path::*;
-// use piet_scene::scene::*;
-// use piet_scene::{geometry::*, path::*, resource::ResourceContext, scene::*};
-
-// fn main() {
-//     let mut scene = Scene::default();
-//     let mut rcx = ResourceContext::new();
-//     let mut sb = build_scene(&mut scene, &mut rcx);
-
-//     sb.push_layer(Blend::default(), Rect::default().elements());
-
-//     // let mut path = Path::new();
-//     // let mut b = PathBuilder::new(&mut path);
-//     // b.move_to(100., 100.);
-//     // b.line_to(200., 200.);
-//     // b.close_path();
-//     // b.move_to(50., 50.);
-//     // b.line_to(600., 150.);
-//     // b.move_to(4., 2.);
-//     // b.quad_to(8., 8., 9., 9.);
-//     // b.close_path();
-//     // println!("{:?}", path);
-//     // for el in path.elements() {
-//     //     println!("{:?}", el);
-//     // }
-//     //sb.push_layer(path.elements(), BlendMode::default());
-
-//     sb.push_layer(Blend::default(), [Element::MoveTo((0., 0.).into())]);
-// }
diff --git a/piet-scene/src/resource/gradient.rs b/piet-scene/src/resource/gradient.rs
index bd2491c..39b7f40 100644
--- a/piet-scene/src/resource/gradient.rs
+++ b/piet-scene/src/resource/gradient.rs
@@ -133,6 +133,6 @@
         let g = ((self.0[1] * a).min(1.0).max(0.0) * 255.0) as u32;
         let b = ((self.0[2] * a).min(1.0).max(0.0) * 255.0) as u32;
         let a = (a * 255.0) as u32;
-        r | (g << 8) | (b << 16) | (a << 24)
+        b | (g << 8) | (r << 16) | (a << 24)
     }
 }