On Sep 29, 2011, at 3:43 PM, efontana wrote:
> Is there anything wrong is just doing it this way?
> 
> int color = System.Drawing.ColorTranslator.FromHtml("#afe0f4").ToArgb();

No, but that has different semantics. Color.ParseColor() supports a specific 
list of named colors, e.g. "magenta", which ColorTranslator may not support.

Furthermore, Mono for Android 1.9 has Color.ParseColor(). :-)

 - Jon

_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to