﻿using System.Drawing;

namespace Xamarin.Examples.Demo.Utils
{
    /// <summary>
    /// Helper class with some color constants.
    /// </summary>
    public class ColorUtil
    {
        public static readonly uint Transparent = 0; // Color.TRANSPARENT
        public static readonly uint White = 0xFFFFFFFF;
        public static readonly uint Black = 0xFF000000;
        public static readonly uint Red = 0xFFFF0000;
        public static readonly uint Green = 0xFF008000;
        public static readonly uint Blue = 0xFF0000FF;
        public static readonly uint Sapphire = 0xFF082567;
        public static readonly uint Cyan = 0xFF00FFFF;
        public static readonly uint Yellow = 0xFFFFFF00;
        public static readonly uint Magenta = 0xFFFF00FF;
        public static readonly uint Lime = 0xFF00FF00;
        public static readonly uint Maroon = 0xFF800000;
        public static readonly uint Grey = 0xFF808080;
        public static readonly uint Purple = 0xFF800080;
        public static readonly uint Olive = 0xFF808000;
        public static readonly uint Teal = 0xFF008080;
        public static readonly uint Navy = 0xFF000080;
        public static readonly uint DarkBlue = 0xFF00008B;
        public static readonly uint Orange = 0xFFFFA500;
        public static readonly uint DarkOrange = 0xFFFF8C00;
        public static readonly uint SteelBlue = 0xFF4682B4;
        public static readonly uint LightSteelBlue = 0xFFB0C4DE;
        public static readonly uint Lavender = 0xFFE6E6FA;
        public static readonly uint Gold = 0xFFFFD700;
        public static readonly uint DarkGreen = 0xFF006400;
        public static readonly uint DarkRed = 0xFF8B0000;
        public static readonly uint Crimson = 0xFFDC143C;
        public static readonly uint LimeGreen = 0xFF32CD32;
        public static readonly uint GreenYellow = 0xFFADFF2F;
        public static readonly uint CornflowerBlue = 0xFF6495ED;
        public static readonly uint Chartreuse = 0xFF7FFF00;
        public static readonly uint LightBlue = 0xFFADD8E6;
        public static readonly uint Wheat = 0xFFF5DEB3;
        public static readonly uint Brown = 0xFFA52A2A;

        public static readonly uint Aqua = (uint)Color.Aqua.ToArgb();
        public static readonly uint SaddleBrown = (uint)Color.SaddleBrown.ToArgb();
        public static readonly uint DarkSalmon = (uint)Color.DarkSalmon.ToArgb();
        public static readonly uint BurlyWood = (uint)Color.BurlyWood.ToArgb();
        public static readonly uint DarkKhaki = (uint)Color.DarkKhaki.ToArgb();
        public static readonly uint ForestGreen = (uint)Color.ForestGreen.ToArgb();
        public static readonly uint CadetBlue = (uint)Color.CadetBlue.ToArgb();
        public static readonly uint Tomato = (uint)Color.Tomato.ToArgb();
        public static readonly uint IndianRed = (uint)Color.IndianRed.ToArgb();
    }
}