ThinkGeo.com    |     Documentation    |     Premium Support

GetColorsInQualityFamily Parameters

I know this method take a start color, end color, # of returned colors and color wheel direction, but it is not clear:

- How many colors are possible between start and end

- What colors does it transition through?  In other words, what does the color wheel look like?

Thanks!

Mike

Hi Mike, 
  
 1. The number of color should be between 1 and 255. 
 2. For color wheel, if it’s Clockwise, the Hue will incress, orelse it reduce. 
  
 Wish that’s helpful for understand this API. 
  
 Regards, 
  
 Don

Thanks!  I think I got it figured out.  Also, I created a Win Form inside my WPF app that will create the color wheel based on the parameters.  Code below in case anyone else can use it to see what your colors will be.  It includes the code to generate the controls so just create a form and dump this into the code behind.


Imports ThinkGeo.MapSuite.Core
Imports System.Reflection
 
Public Class ColorWhl
    Private myBitmap As System.Drawing.Bitmap
    Private colorslistStart As New List(Of String)()
    Private colorslistEnd As New List(Of String)()
 
    Private Sub ColorWhl_Load(sender As Object, e As EventArgs) Handles MyBase.Load
        InitForm()
        Dim allColors() As String = System.Enum.GetNames(GetType(System.Drawing.KnownColor))
        Dim systemEnvironmentColors((GetType(System.Drawing.SystemColors)).GetProperties().Length - 1) As String
        Dim index As Integer = 0
        For Each member As Reflection.MemberInfo In (GetType(System.Drawing.SystemColors)).GetProperties()
            systemEnvironmentColors(index) = member.Name
            index += 1
        Next member
        For Each color As String In allColors
            If Array.IndexOf(systemEnvironmentColors, color) < 0 Then
                colorslistStart.Add(color)
                colorslistEnd.Add(color)
            End If
        Next color
 
        cbStartColor.DataSource = colorslistStart
        cbEndColor.DataSource = colorslistEnd
        cbStartColor.SelectedItem = “Red”
        cbEndColor.SelectedItem = “Blue”
        cbDirection.Items.Add(“Clockwise”)
        cbDirection.Items.Add(“CounterClockwise”)
        cbDirection.SelectedIndex = 0
    End Sub
 
    Private Sub tbSearchStart_TextChanged(sender As Object, e As EventArgs) Handles tbSearchStart.TextChanged
        cbStartColor.DataSource = colorslistStart
        If String.IsNullOrWhiteSpace(tbSearchStart.Text) Then
            cbStartColor.DataSource = colorslistStart
        Else
            Dim tmpD As New List(Of String)
            For Each As String In colorslistStart
                If s.ToUpper.Contains(tbSearchStart.Text.ToUpper) Then
                    tmpD.Add(s)
                End If
            Next
            cbStartColor.DataSource = tmpD
        End If
    End Sub
 
    Private Sub tbSearchEnd_TextChanged(sender As Object, e As EventArgs) Handles tbSearchEnd.TextChanged
        cbEndColor.DataSource = colorslistEnd
        If String.IsNullOrWhiteSpace(tbSearchEnd.Text) Then
            cbEndColor.DataSource = colorslistEnd
        Else
            Dim tmpD As New List(Of String)
            For Each As String In colorslistEnd
                If s.ToUpper.Contains(tbSearchEnd.Text.ToUpper) Then
                    tmpD.Add(s)
                End If
            Next
            cbEndColor.DataSource = tmpD
        End If
    End Sub
 
    Private Sub butPlotColors_Click(sender As Object, e As EventArgs) Handles butPlotColors.Click
        pbColorWheel.Invalidate()
        'pbColorWheel_Paint(Nothing, Nothing)
    End Sub
 
    Private Sub ClearPictureBox(ByRef pb As Forms.PictureBox)
        pb.Image = Nothing
        pb.BackColor = System.Drawing.Color.Empty
        pb.Invalidate()
    End Sub
 
    Public Function c32(clr As System.Drawing.Color) As Integer
        ‘Return clr.ToArgb
        Dim As String = Hex(clr.R)
        Dim As String = Hex(clr.G)
        Dim As String = Hex(clr.B)
        Return Convert.ToInt32(“FF” & b.PadLeft(2, “0”) & g.PadLeft(2, “0”) & r.PadLeft(2, “0”), 16)
    End Function
 
    Private Sub pbColorWheel_MouseMove(sender As Object, e As Forms.MouseEventArgs) Handles pbColorWheel.MouseMove
        If pbColorWheel.Image Is Nothing Then Exit Sub
        Dim clr As System.Drawing.Color
        Using MyBMP1 As New System.Drawing.Bitmap(pbColorWheel.Image)
            clr = MyBMP1.GetPixel(e.X, e.Y)
        End Using
        Dim tmpStr As String String.Empty
        Dim As String = Hex(clr.R)
        Dim As String = Hex(clr.G)
        Dim As String = Hex(clr.B)
        Dim As String “#” & (r.PadLeft(2, “0”) & g.PadLeft(2, “0”) & b.PadLeft(2, “0”)).ToUpper
        If color2name.Keys.Contains(k) Then
            tmpStr = color2name(k) & “(R:” & clr.R & " G:" & clr.G & " B:" & clr.B & “)”
        Else
            tmpStr = “R:” & clr.R & " G:" & clr.G & " B:" & clr.B
        End If
        lblColor.Text = tmpStr
    End Sub
 
    Private Sub pbColorWheel_Paint(sender As Object, e As Forms.PaintEventArgs) Handles pbColorWheel.Paint
        If cbStartColor.Items.Count = 0 Or cbEndColor.Items.Count = 0 Then Exit Sub
        pbColorWheel.Image = Nothing
        If myBitmap IsNot Nothing Then myBitmap.Dispose()
        Dim cs As System.Drawing.Color = System.Drawing.Color.FromName(cbStartColor.SelectedItem.ToString)
        Dim ce As System.Drawing.Color = System.Drawing.Color.FromName(cbEndColor.SelectedItem.ToString)
        Dim clrStart As GeoColor = GeoColor.FromWin32(c32(cs))
        Dim clrEnd As GeoColor = GeoColor.FromWin32(c32(ce))
        Dim colors As Collections.ObjectModel.Collection(Of GeoColor)
        Try
            colors = GeoColor.GetColorsInQualityFamily(clrStart, clrEnd, nudNumColors.Value, cbDirection.SelectedIndex)
        Catch ex As Exception
            MsgBox(“Asking for too many colors!”)
            Exit Sub
        End Try
        Dim PieAngle As Double = 360 / nudNumColors.Value
        Dim xOffset As Integer = pbColorWheel.Width / 2
        Dim yOffset As Integer = pbColorWheel.Height / 2
        Dim lineLength As Integer = yOffset
        Dim x1 As Integer = xOffset + 0
        Dim y1 As Integer = yOffset - lineLength
        Dim As Integer = 0
 
        myBitmap = New System.Drawing.Bitmap(pbColorWheel.Width, pbColorWheel.Height)
        Using myGraphics As System.Drawing.Graphics = System.Drawing.Graphics.FromImage(myBitmap)
            For As Double = PieAngle To 360.01 Step PieAngle
                Dim rad As Double CDbl(i) * Math.PI / 180.0
                Dim x2 As Integer = xOffset + lineLength * Math.Sin(rad)
                Dim y2 As Integer = yOffset - lineLength * Math.Cos(rad)
                Dim pts As System.Drawing.Point() = New System.Drawing.Point() {New System.Drawing.Point(xOffset, yOffset), New System.Drawing.Point(x1, y1), New System.Drawing.Point(x2, y2)}
 
                Dim myPen As New System.Drawing.Pen(System.Drawing.Color.Red, 2)
 
                Dim myColor As System.Drawing.Color = System.Drawing.Color.FromArgb(colors(j).RedComponent, colors(j).GreenComponent, colors(j).BlueComponent)
                j += 1
 
                Dim myBrush As System.Drawing.SolidBrush = New System.Drawing.SolidBrush(myColor)
 
                myGraphics.FillPolygon(myBrush, pts)
 
                y1 = y2
                x1 = x2
            Next
            pbColorWheel.Image = myBitmap
        End Using
 
    End Sub
 
    Dim color2name As New Dictionary(Of StringString)() From {{"#000000",“Black “},{#000080,“Navy “},{#00008B,“DarkBlue “},{#00009C,“Duke Blue”},{"#0000CD",“MediumBlue “},{#0000FF,“Blue “},{#000F89,“Phthalo Blue”},{"#0014A8",“Zaffre”},{"#002147",“Oxford Blue”},{"#002366",“Royal Blue”},{"#002387",“Resolution Blue”},{"#002395",“Imperial Blue”},{"#002E63",“Cool Black”},{"#002FA7",“International Klein Blue”},{"#00308F",“Air Force Blue (USAF)”},{"#003153",“Prussian Blue”},{"#003366",“Dark Midnight Blue”},{"#003399",“Dark Powder Blue”},{"#0033AA",“UA Blue”},{"#0038A8",“Royal Azure”},{"#004040",“Rich Black”},{"#00416A",“Dark Imperial Blue”},{"#004225",“British Racing Green”},{"#004242",“Warm Black”},{"#0047AB",“Cobalt”},{"#004953",“Midnight Green (Eagle Green)”},{"#004B49",“Deep Jungle Green”},{"#004F98",“USAFA Blue”},{"#00563F",“Castleton Green”},{"#006400",“DarkGreen “},{#006600,“Pakistan Green”},{"#0067A5",“Medium Persian Blue”},{"#006994",“Sea Blue”},{"#006A4E",“Bottle Green”},{"#006B3C",“Cadmium Green”},{"#006DB0",“Honolulu Blue”},{"#00703C",“Dartmouth Green”},{"#0070B8",“Spanish Blue”},{"#0070FF",“Brandeis Blue”},{"#0072BB",“French Blue”},{"#0073CF",“True Blue”},{"#007474",“Skobeloff”},{"#00755E",“Tropical Rain Forest”},{"#0077BE",“Ocean Boat Blue”},{"#007AA5",“CG Blue”},{"#007BA7",“Celadon Blue”},{"#007BB8",“Star Command Blue”},{"#007F5C",“Spanish Viridian”},{"#007F66",“Generic Viridian”},{"#007FFF",“Azure”},{"#008000",“Green “},{#008080,“Teal “},{#00827F,“Teal Green”},{"#0087BD",“Blue (NCS)”},{"#008B8B",“DarkCyan “},{#009000,“Islamic Green”},{"#0093AF",“Blue (Munsell)”},{"#0095B6",“Bondi Blue”},{"#009698",“Viridian Green”},{"#009B7D",“Paolo Veronese Green”},{"#009E60",“Shamrock Green”},{"#009F6B",“Green (NCS)”},{"#00A550",“Green (Pigment)”},{"#00A693",“Persian Green”},{"#00A86B",“Jade”},{"#00A877",“Green (Munsell)”},{"#00AB66",“GO Green”},{"#00B7EB",“Cyan (Process)”},{"#00BFFF",“DeepSkyBlue “},{#00CC99,“Caribbean Green”},{"#00CCCC",“Robin Egg Blue”},{"#00CCFF",“Vivid Sky Blue”},{"#00CED1",“DarkTurquoise “},{#00FA9A,“MediumSpringGreen “},{#00FF00,“Lime “},{#00FF7F,“SpringGreen “},{#00FFEF,“Turquoise Blue”},{"#00FFFF",“Cyan “},{#013220,“Dark Green”},{"#014421",“Forest Green (Traditional)”},{"#01796F",“Pine Green”},{"#0247FE",“Blue (RYB)”},{"#035096",“Medium Electric Blue”},{"#03C03C",“Dark Pastel Green”},{"#059033",“North Texas Green”},{"#062A78",“Catalina Blue”},{"#08457E",“Dark Cerulean”},{"#087830",“La Salle Green”},{"#0892D0",“Rich Electric Blue”},{"#08E8DE",“Bright Turquoise”},{"#091F92",“Indigo Dye”},{"#0A7E8C",“Metallic Seaweed”},{"#0ABAB5",“Tiffany Blue”},{"#0BDA51",“Malachite”},{"#0D98BA",“Blue-Green”},{"#0F4D92",“Yale Blue”},{"#0F52BA",“Sapphire”},{"#0FC0FC",“Spiro Disco Ball”},{"#100C08",“Smoky Black”},{"#1034A6",“Egyptian Blue”},{"#120A8F",“Ultramarine”},{"#123524",“Phthalo Green”},{"#126180",“Blue Sapphire”},{"#138808",“India Green”},{"#1560BD",“Denim”},{"#177245",“Dark Spring Green”},{"#18453B",“MSU Green”},{"#191970",“MidnightBlue “},{#195905,“Lincoln Green”},{"#1974D2",“Bright Navy Blue”},{"#1A1110",“Licorice”},{"#1A2421",“Dark Jungle Green”},{"#1B1B1B",“Eerie Black”},{"#1B4D3E",“Brunswick Green”},{"#1C1CF0",“Bluebonnet”},{"#1C2841",“Yankees Blue”},{"#1C352D",“Medium Jungle Green”},{"#1C39BB",“Persian Blue”},{"#1CAC78",“Green (Crayola)”},{"#1D2951",“Space Cadet”},{"#1DACD6",“Bright Cerulean”},{"#1E4D2B",“Cal Poly Green”},{"#1E90FF",“DodgerBlue “},{#1F75FE,“Blue (Crayola)”},{"#20B2AA",“LightSeaGreen “},{#214FC6,“New Car”},{"#21ABCD",“Ball Blue”},{"#228B22",“ForestGreen “},{#23297A,“St. Patrick’s Blue”},{"#232B2B",“Charleston Green”},{"#253529",“Black Leather Jacket”},{"#264348",“Japanese Indigo”},{"#26619C",“Lapis Lazuli”},{"#273BE2",“Palatinate Blue”},{"#29AB87",“Jungle Green”},{"#2A52BE",“Cerulean Blue”},{"#2A8000",“Napier Green”},{"#2C1608",“Zinnwaldite Brown”},{"#2E5894",“B’dazzled Blue”},{"#2E8B57",“SeaGreen “},{#2F4F4F,“DarkSlateGray “},{#2F847C,“Celadon Green”},{"#306030",“Mughal Green”},{"#30BA8F",“Mountain Meadow”},{"#317873",“Myrtle Green”},{"#318CE7",“Bleu De France”},{"#319177",“Illuminating Emerald”},{"#32127A",“Persian Indigo”},{"#321414",“Seal Brown”},{"#32174D",“Russian Violet”},{"#324AB2",“Violet-Blue”},{"#32CD32",“LimeGreen “},{#333399,“Blue (Pigment)”},{"#343434",“Jet”},{"#353839",“Onyx”},{"#354230",“Kombu Green”},{"#355E3B",“Deep Moss Green”},{"#36454F",“Charcoal”},{"#367588",“Teal Blue”},{"#39A78E",“Zomp”},{"#39FF14",“Neon Green”},{"#3AB09E",“Keppel”},{"#3B3C36",“Black Olive”},{"#3B444B",“Arsenic”},{"#3B7A57",“Amazon”},{"#3C1414",“Dark Sienna”},{"#3C341F",“Olive Drab #7},{"#3CB371",“MediumSeaGreen “},{#3CD070,“UFO Green”},{"#3D0C02",“Black Bean”},{"#3D2B1F",“Bistre”},{"#3EB489",“Mint”},{"#3F00FF",“Electric Ultramarine”},{"#3FFF00",“Harlequin”},{"#40826D",“Viridian”},{"#40E0D0",“Turquoise “},{#414A4C,“Outer Space”},{"#4166F5",“Ultramarine Blue”},{"#4169E1",“RoyalBlue “},{#417DC1,“Tufts Blue”},{"#43302E",“Old Burgundy”},{"#436B95",“Queen Blue”},{"#43B3AE",“Verdigris”},{"#444C38",“Rifle Green”},{"#446CCF",“Han Blue”},{"#44D7A8",“Eucalyptus”},{"#45B1E8",“Picton Blue”},{"#465945",“Gray-Asparagus”},{"#4682B4",“SteelBlue “},{#480607,“Bulgarian Rose”},{"#483C32",“Dark Lava”},{"#483D8B",“DarkSlateBlue “},{#48D1CC,“MediumTurquoise “},{#49796B,“Hooker’s Green”},{"#4997D0",“Celestial Blue”},{"#4A5D23",“Dark Moss Green”},{"#4A646C",“Deep Space Sparkle”},{"#4B0082",“Indigo  “},{#4B3621,“Café Noir”},{"#4B5320",“Army Green”},{"#4C2882",“Spanish Violet”},{"#4C516D",“Independence”},{"#4C9141",“May Green”},{"#4CBB17",“Kelly Green”},{"#4D5D53",“Feldgrau”},{"#4E1609",“French Puce”},{"#4E5180",“Purple Navy”},{"#4F3A3C",“Dark Puce”},{"#4F666A",“Stormcloud”},{"#4F7942",“Fern Green”},{"#4F86F7",“Blueberry”},{"#50404D",“Purple Taupe”},{"#5072A7",“Blue Yonder”},{"#507D2A",“Sap Green”},{"#50C878",“Emerald”},{"#51484F",“Quartz”},{"#5218FA",“Han Purple”},{"#522D80",“Regalia”},{"#534B4F",“Dark Liver”},{"#536872",“Cadet”},{"#536878",“Dark Electric Blue”},{"#536895",“UCLA Blue”},{"#543D37",“Dark Liver (Horses)”},{"#545AA7",“Liberty”},{"#555555",“Davy’s Grey”},{"#555D50",“Ebony”},{"#556B2F",“DarkOliveGreen “},{#560319,“Dark Scarlet”},{"#563C5C",“English Violet”},{"#568203",“Avocado”},{"#58427C",“Cyber Grape”},{"#592720",“Caput Mortuum”},{"#5A4FCF",“Iris”},{"#5B3256",“Japanese Violet”},{"#5B92E5",“United Nations Blue”},{"#5D3954",“Dark Byzantium”},{"#5D89BA",“Silver Lake Blue”},{"#5D8AA8",“Air Force Blue (RAF)”},{"#5F9EA0",“CadetBlue “},{#602F6B,“Imperial”},{"#6050DC",“Majorelle Blue”},{"#6082B6",“Glaucous”},{"#614051",“Eggplant”},{"#635147",“Umber”},{"#644117",“Pullman Brown (UPS Brown)”},{"#645452",“Wenge”},{"#648C11",“Bitter Lime”},{"#6495ED",“CornflowerBlue “},{#65000B,“Rosewood”},{"#654321",“Dark Brown”},{"#66023C",“Imperial Purple”},{"#663854",“Halayà Úbe”},{"#66424D",“Deep Tuscan Red”},{"#664C28",“Donkey Brown”},{"#665D1E",“Antique Bronze”},{"#666699",“Dark Blue-Gray”},{"#6699CC",“Blue-Gray”},{"#66B032",“Green (RYB)”},{"#66CDAA",“MediumAquaMarine “},{#66DDAA,“Medium Aquamarine”},{"#66FF00",“Bright Green”},{"#673147",“Old Mauve”},{"#674846",“Rose Ebony”},{"#674C47",“Liver”},{"#679267",“Russian Green”},{"#682860",“Palatinate Purple”},{"#69359C",“Purple Heart”},{"#696969",“DimGray “},{#6A5ACD,“SlateBlue “},{#6B4423,“Brown-Nose”},{"#6B8E23",“OliveDrab “},{#6C2E1F,“Liver (Organ)”},{"#6C3082",“Eminence”},{"#6C541E",“Field Drab”},{"#6CA0DC",“Little Boy Blue”},{"#6D9BC3",“Cerulean Frost”},{"#6E7F80",“AuroMetalSaurus”},{"#6F00FF",“Electric Indigo”},{"#6F2DA8",“Grape”},{"#6F4E37",“Coffee”},{"#701C1C",“Persian Plum”},{"#702963",“Byzantium”},{"#703642",“Catawba”},{"#704214",“Sepia”},{"#704241",“Deep Coffee”},{"#708090",“SlateGray “},{#71A6D2,“Iceberg”},{"#722F37",“Puce Red”},{"#72A0C1",“Air Superiority Blue”},{"#734F96",“Dark Lavender”},{"#737000",“Bronze Yellow”},{"#738276",“Smoke”},{"#738678",“Xanadu”},{"#73A9C2",“Moonstone Blue”},{"#73C2FB",“Maya Blue”},{"#746CC0",“Toolbox”},{"#74C365",“Mantis”},{"#757575",“Sonic Silver”},{"#76FF7A","Screamin’ Green"},{"#777696",“Rhythm”},{"#778899",“LightSlateGray “},{#778BA5,“Shadow Blue”},{"#779ECB",“Dark Pastel Blue”},{"#77B5FE",“French Sky Blue”},{"#77DD77",“Pastel Green”},{"#78184A",“Pansy Purple”},{"#7851A9",“Royal Purple”},{"#78866B",“Camouflage Green”},{"#79443B",“Bole”},{"#796878",“Old Lavender”},{"#7B1113",“UP Maroon”},{"#7B3F00",“Chocolate (Traditional)”},{"#7B68EE",“MediumSlateBlue “},{#7BB661,“Bud Green”},{"#7C0A02",“Barn Red”},{"#7C1C05",“Kenyan Copper”},{"#7C4848",“Tuscan Red”},{"#7CB9E8",“Aero”},{"#7CFC00",“LawnGreen “},{#7DF9FF,“Electric Blue”},{"#7E5E60",“Deep Taupe”},{"#7F00FF",“Violet”},{"#7F1734",“Claret”},{"#7FFF00",“Chartreuse “},{#7FFFD4,“Aquamarine “},{#800000,“Maroon “},{#800020,“Burgundy”},{"#800080",“Purple “},{#801818,“Falu Red”},{"#80461B",“Russet”},{"#807532",“Spanish Bistre”},{"#808000",“Olive “},{#808080,“Gray “},{#80DAEB,“Medium Sky Blue”},{"#826644",“Raw Umber”},{"#836953",“Pastel Brown”},{"#838996",“Roman Silver”},{"#841B2D",“Antique Ruby”},{"#843F5B",“Deep Ruby”},{"#848482",“Battleship Grey”},{"#856088",“Chinese Violet”},{"#856D4D",“French Bistre”},{"#85754E",“Gold Fusion”},{"#85BB65",“Dollar Bill”},{"#860111",“Red Devil”},{"#8601AF",“Violet”},{"#86608E",“French Lilac”},{"#867E36",“Old Moss Green”},{"#872657",“Dark Raspberry”},{"#873260",“Boysenberry”},{"#87A96B",“Asparagus”},{"#87CEEB",“SkyBlue “},{#87CEFA,“LightSkyBlue “},{#880085,“Mardi Gras”},{"#8806CE",“French Violet”},{"#882D17",“Kobe”},{"#8878C3",“Ube”},{"#88D8C0",“Pearl Aqua”},{"#893F45",“Cordovan”},{"#89CFF0",“Baby Blue”},{"#8A2BE2",“BlueViolet “},{#8A3324,“Burnt Umber”},{"#8A496B",“Twilight Lavender”},{"#8A795D",“Shadow”},{"#8A7F80",“Rocket Metallic”},{"#8A9A5B",“Moss Green”},{"#8AB9F1",“Jordy Blue”},{"#8B0000",“DarkRed “},{#8B008B,“DarkMagenta “},{#8B4513,“SaddleBrown “},{#8B8589,“Taupe Gray”},{"#8C92AC",“Cool Grey”},{"#8CBED6",“Dark Sky Blue”},{"#8D4E85",“Razzmic Berry”},{"#8DB600",“Apple Green”},{"#8E3A59",“Quinacridone Magenta”},{"#8E4585",“Plum”},{"#8F00FF",“Electric Violet”},{"#8F9779",“Artichoke”},{"#8FBC8F",“DarkSeaGreen “},{#8FD400,“Sheen Green”},{"#905D5D",“Rose Taupe”},{"#90EE90",“LightGreen “},{#915C83,“Antique Fuchsia”},{"#915F6D",“Mauve Taupe”},{"#918151",“Dark Tan”},{"#91A3B0",“Cadet Grey”},{"#92000A",“Sangria”},{"#922724",“Vivid Auburn”},{"#92A1CF",“Ceil”},{"#933D41",“Smokey Topaz”},{"#9370DB",“MediumPurple “},{#93C572,“Pistachio”},{"#93CCEA",“Light Cornflower Blue”},{"#9400D3",“DarkViolet “},{#9457EB,“Lavender Indigo”},{"#954535",“Chestnut”},{"#960018",“Carmine”},{"#964B00",“Brown (Traditional)”},{"#965A3E",“Coconut”},{"#966FD6",“Dark Pastel Purple”},{"#967117",“Bistre Brown”},{"#9678B6",“Purple Mountain Majesty”},{"#967BB6",“Lavender Purple”},{"#96C8A2",“Eton Blue”},{"#96DED1",“Pale Robin Egg Blue”},{"#979AAA",“Manatee”},{"#986960",“Dark Chestnut”},{"#987456",“Liver Chestnut”},{"#987654",“Pale Brown”},{"#98777B",“Bazaar”},{"#98817B",“Cinereous”},{"#989898",“Spanish Gray”},{"#98FB98",“PaleGreen “},{#98FF98,“Mint Green”},{"#990000",“OU Crimson Red”},{"#9932CC",“DarkOrchid “},{#9955BB,“Deep Lilac”},{"#996515",“Golden Brown”},{"#996666",“Copper Rose”},{"#9966CC",“Amethyst”},{"#997A8D",“Mountbatten Pink”},{"#99BADD",“Carolina Blue”},{"#99E6B3",“Teal Deer”},{"#9A4EAE",“Purpureus”},{"#9AB973",“Olivine”},{"#9ACD32",“YellowGreen “},{#9B111E,“Ruby Red”},{"#9B7653",“Dirt”},{"#9B870C",“Dark Yellow”},{"#9BC4E2",“Pale Cerulean”},{"#9BDDFF",“Columbia Blue”},{"#9C2542",“Big Dip O’ruby”},{"#9C7C38",“Metallic Sunburst”},{"#9DC209",“Limerick”},{"#9E1316",“Spartan Crimson”},{"#9EFD38",“French Lime”},{"#9F00C5",“Purple”},{"#9F00FF",“Vivid Violet”},{"#9F1D35",“Vivid Burgundy”},{"#9F4576",“Magenta Haze”},{"#9F8170",“Beaver”},{"#9FA91F",“Citron”},{"#A020F0",“Purple”},{"#A0522D",“Sienna “},{#A0785A,“Chamoisee”},{"#A0D6B4",“Turquoise Green”},{"#A1CAF1",“Baby Blue Eyes”},{"#A2006D",“Flirt”},{"#A2A2D0",“Blue Bell”},{"#A2ADD0",“Wild Blue Yonder”},{"#A3C1AD",“Cambridge Blue”},{"#A40000",“Dark Candy Apple Red”},{"#A45A52",“Redwood”},{"#A4C639",“Android Green”},{"#A4DDED",“Non-Photo Blue”},{"#A4F4F9",“Waterspout”},{"#A50B5E",“Jazzberry Jam”},{"#A52A2A",“Brown “},{#A57164,“Blast-Off Bronze”},{"#A67B5B",“Café Au Lait”},{"#A6E7FF",“Fresh Air”},{"#A75502",“Windsor Tan”},{"#A76BCF",“Rich Lavender”},{"#A7FC00",“Spring Bud”},{"#A81C07",“Rufous”},{"#A8516E",“China Rose”},{"#A8BB19",“Acid Green”},{"#A8E4A0",“Granny Smith Apple”},{"#A9203E",“Deep Carmine”},{"#A95C68",“Deep Puce”},{"#A99A86",“Grullo”},{"#A9A9A9",“DarkGray “},{#A9BA9D,“Laurel Green”},{"#AA381E",“Chinese Red”},{"#AA4069",“Medium Ruby”},{"#AA98A9",“Heliotrope Gray”},{"#AAF0D1",“Magic Mint”},{"#AB4B52",“English Red”},{"#AB4E52",“Rose Vale”},{"#ABCDEF",“Pale Cornflower Blue”},{"#AC1E44",“French Wine”},{"#ACACAC",“Silver Chalice”},{"#ACE1AF",“Celadon”},{"#ACE5EE",“Blizzard Blue”},{"#AD6F69",“Copper Penny”},{"#ADD8E6",“LightBlue “},{#ADDFAD,“Light Moss Green”},{"#ADFF2F",“GreenYellow “},{#AE0C00,“Mordant Red 19”},{"#AE2029",“Upsdell Red”},{"#AEC6CF",“Pastel Blue”},{"#AF002A",“Alabama Crimson”},{"#AF4035",“Medium Carmine”},{"#AFEEEE",“PaleTurquoise “},{#B03060,“Maroon (X11)”},{"#B06500",“Ginger”},{"#B0C4DE",“LightSteelBlue “},{#B0E0E6,“PowderBlue “},{#B19CD9,“Light Pastel Purple”},{"#B22222",“FireBrick “},{#B284BE,“African Purple”},{"#B2BEB5",“Ash Grey”},{"#B2EC5D",“Inchworm”},{"#B2FFFF",“Celeste”},{"#B31B1B",“Carnelian”},{"#B3446C",“Irresistible”},{"#B38B6D",“Light Taupe”},{"#B39EB5",“Pastel Purple”},{"#B48395",“English Lavender”},{"#B53389",“Fandango”},{"#B5651D",“Light Brown”},{"#B57281",“Turkish Rose”},{"#B57EDC",“Lavender (Floral)”},{"#B5A642",“Brass”},{"#B666D2",“Rich Lilac”},{"#B7410E",“Rust”},{"#B768A2",“Pearly Purple”},{"#B76E79",“Rose Gold”},{"#B784A7",“Opera Mauve”},{"#B78727",“University Of California Gold”},{"#B86D29",“Liver (Dogs)”},{"#B87333",“Copper”},{"#B8860B",“DarkGoldenRod “},{#B94E48,“Deep Chestnut”},{"#B9F2FF",“Diamond”},{"#BA160C",“International Orange (Engineering)”},{"#BA55D3",“MediumOrchid “},{#BA8759,“Deer”},{"#BB3385",“Medium Red-Violet”},{"#BB6528",“Ruddy Brown”},{"#BC8F8F",“RosyBrown “},{#BC987E,“Pale Taupe”},{"#BCB88A",“Sage”},{"#BCD4E6",“Beau Blue”},{"#BD33A4",“Byzantine”},{"#BDB76B",“DarkKhaki “},{#BDDA57,“June Bud”},{"#BE0032",“Crimson Glory”},{"#BE4F62",“Popstar”},{"#BEBEBE",“Gray (X11 Gray)”},{"#BF00FF",“Electric Purple”},{"#BF4F51",“Bittersweet Shimmer”},{"#BF94E4",“Bright Lavender”},{"#BFC1C2",“Silver Sand”},{"#BFFF00",“Lime (Color Wheel)”},{"#C0362C",“International Orange (Golden Gate Bridge)”},{"#C04000",“Mahogany”},{"#C08081",“Old Rose”},{"#C09999",“Tuscany”},{"#C0C0C0",“Silver “},{#C154C1,“Deep Fuchsia”},{"#C19A6B",“Camel”},{"#C21E56",“Rose Red”},{"#C23B22",“Dark Pastel Red”},{"#C2B280",“Ecru”},{"#C30B4E",“Pictorial Carmine”},{"#C32148",“Bright Maroon”},{"#C3B091",“Khaki (HTML/CSS) (Khaki)”},{"#C40233",“Red”},{"#C41E3A",“Cardinal”},{"#C46210",“Alloy Orange”},{"#C4AEAD",“Silver Pink”},{"#C4C3D0",“Lavender Gray”},{"#C54B8C",“Mulberry”},{"#C5B358",“Vegas Gold”},{"#C71585",“MediumVioletRed “},{#C72C48,“French Raspberry”},{"#C74375",“Fuchsia Rose”},{"#C80815",“Venetian Red”},{"#C84186",“Smitten”},{"#C8A2C8",“Lilac”},{"#C90016",“Harvard Crimson”},{"#C95A49",“Cedar Chest”},{"#C9A0DC",“Wisteria”},{"#C9C0BB",“Pale Silver”},{"#C9DC87",“Medium Spring Bud”},{"#C9FFE5",“Aero Blue”},{"#CA1F7B",“Magenta (Dye)”},{"#CA2C92",“Royal Fuchsia”},{"#CAE00D",“Bitter Lemon”},{"#CB410B",“Sinopia”},{"#CB4154",“Brick Red”},{"#CB6D51",“Copper Red”},{"#CB99C9",“Pastel Violet”},{"#CBA135",“Satin Sheen Gold”},{"#CC0000",“Boston University Red”},{"#CC00CC",“Deep Magenta”},{"#CC00FF",“Vivid Orchid”},{"#CC3333",“Persian Red”},{"#CC33CC",“Steel Pink”},{"#CC397B",“Fuchsia Purple”},{"#CC4E5C",“Dark Terra Cotta”},{"#CC5500",“Burnt Orange”},{"#CC6666",“Fuzzy Wuzzy”},{"#CC7722",“Ochre”},{"#CC8899",“Puce”},{"#CCA01D",“Lemon Curry”},{"#CCCCFF",“Lavender Blue”},{"#CCFF00",“Electric Lime”},{"#CD5700",“Tenné”},{"#CD5B45",“Dark Coral”},{"#CD5C5C",“IndianRed  “},{#CD7F32,“Bronze”},{"#CD853F",“Peru “},{#CD9575,“Antique Brass”},{"#CE2029",“Fire Engine Red”},{"#CE4676",“Ruber”},{"#CEC8EF",“Soap”},{"#CF1020",“Lava”},{"#CF3476",“Telemagenta”},{"#CF6BA9",“Super Pink”},{"#CF71AF",“Sky Magenta”},{"#CFB53B",“Old Gold”},{"#CFCFC4",“Pastel Gray”},{"#D0417E",“Magenta (Pantone)”},{"#D0F0C0",“Tea Green”},{"#D10047",“Spanish Carmine”},{"#D10056",“Rubine Red”},{"#D19FE8",“Bright Ube”},{"#D1BEA8",“Dark Vanilla”},{"#D1E231",“Pear”},{"#D2691E",“Chocolate “},{#D2B48C,“Tan “},{#D3003F,“Utah Crimson”},{"#D39BCB",“Light Medium Orchid”},{"#D3D3D3",“LightGray “},{#D40000,“Rosso Corsa”},{"#D470A2",“Wild Orchid”},{"#D473D4",“Deep Mauve”},{"#D4AF37",“Gold (Metallic)”},{"#D6CADD",“Languid Lavender”},{"#D70040",“Carmine (M&P)”},{"#D70A53",“Debian Red”},{"#D71868",“Dogwood Rose”},{"#D73B3E",“Jasper”},{"#D7837F",“New York Pink”},{"#D891EF",“Bright Lilac”},{"#D8B2D1",“Pink Lavender”},{"#D8BFD8",“Thistle “},{#D9004C,“UA Red”},{"#D9381E",“Vermilion”},{"#D9603B",“Medium Vermilion”},{"#D98695",“Shimmering Blush”},{"#D99058",“Persian Orange”},{"#DA1D81",“Vivid Cerise”},{"#DA2C43",“Rusty Red”},{"#DA3287",“Deep Cerise”},{"#DA614E",“Jelly Bean”},{"#DA70D6",“Orchid “},{#DA8A67,“Copper (Crayola)”},{"#DA9100",“Harvest Gold”},{"#DAA520",“GoldenRod “},{#DB7093,“PaleVioletRed “},{#DBD7D2,“Timberwolf”},{"#DC143C",“Crimson “},{#DCD0FF,“Pale Lavender”},{"#DCDCDC",“Gainsboro “},{#DDA0DD,“Plum “},{#DDADAF,“Pale Chestnut”},{"#DE3163",“Cerise”},{"#DE5285",“Fandango Pink”},{"#DE5D83",“Blush”},{"#DE6FA1",“China Pink”},{"#DEA5A4",“Pastel Pink”},{"#DEAA88",“Tumbleweed”},{"#DEB887",“BurlyWood “},{#DF00FF,“Phlox”},{"#DF73FF",“Heliotrope”},{"#DFFF00",“Chartreuse (Traditional)”},{"#E0115F",“Ruby”},{"#E0218A",“Barbie Pink”},{"#E03C31",“CG Red”},{"#E08D3C",“Tiger’s Eye”},{"#E0B0FF",“Mauve”},{"#E0FFFF",“LightCyan “},{#E18E96,“Ruddy Pink”},{"#E1A95F",“Earth Yellow”},{"#E1AD21",“Urobilin”},{"#E2062C",“Medium Candy Apple Red”},{"#E25098",“Raspberry Pink”},{"#E25822",“Flame”},{"#E2725B",“Terra Cotta”},{"#E30022",“Cadmium Red”},{"#E30B5D",“Raspberry”},{"#E3256B",“Razzmatazz”},{"#E32636",“Alizarin Crimson”},{"#E34234",“Cinnabar”},{"#E3A857",“Indian Yellow”},{"#E3AB57",“Sunray”},{"#E3DAC9",“Bone”},{"#E3F988",“Midori”},{"#E3FF00",“Lemon Lime”},{"#E40078",“Red-Purple”},{"#E4007C",“Mexican Pink”},{"#E4717A",“Candy Pink”},{"#E48400",“Fulvous”},{"#E49B0F",“Gamboge”},{"#E4D00A",“Citrine”},{"#E4D96F",“Straw”},{"#E51A4C",“Spanish Crimson”},{"#E52B50",“Amaranth”},{"#E5AA70",“Fawn”},{"#E5B73B",“Meat Brown”},{"#E5CCC9",“Dust Storm”},{"#E5E4E2",“Platinum”},{"#E60026",“Spanish Red”},{"#E62020",“Lust”},{"#E66771",“Light Carmine Pink”},{"#E68FAC",“Charm Pink”},{"#E6A8D7",“Light Orchid”},{"#E6BE8A",“Pale Gold”},{"#E6E200",“Peridot”},{"#E6E6FA",“Lavender “},{#E6E8FA,“Glitter”},{"#E75480",“Dark Pink”},{"#E79FC4",“Kobi”},{"#E7ACCF",“Pink Pearl”},{"#E7FEFF",“Bubbles”},{"#E8000D",“KU Crimson”},{"#E86100",“Spanish Orange”},{"#E8CCD7",“Queen Pink”},{"#E9692C",“Deep Carrot Orange”},{"#E97451",“Burnt Sienna”},{"#E9967A",“DarkSalmon “},{#E9D66B,“Arylide Yellow”},{"#E9FFDB",“Nyanza”},{"#EA3C53",“Desire”},{"#EAE0C8",“Pearl”},{"#EB4C42",“Carmine Pink”},{"#EC3B83",“Cerise Pink”},{"#EC5800",“Persimmon”},{"#ECD540",“Sandstorm”},{"#ECEBBD",“Pale Spring Bud”},{"#ED1C24",“Red”},{"#ED2939",“Imperial Red”},{"#ED872D",“Cadmium Orange”},{"#ED9121",“Carrot Orange”},{"#EDC9AF",“Desert Sand”},{"#EE204D",“Red”},{"#EE82EE",“Violet “},{#EED202,“Safety Yellow”},{"#EEDC82",“Flax”},{"#EEE600",“Titanium Yellow”},{"#EEE8AA",“PaleGoldenRod “},{#EF3038,“Deep Carmine Pink”},{"#EF98AA",“Mauvelous”},{"#EFBBCC",“Cameo Pink”},{"#EFCC00",“Yellow”},{"#EFDECD",“Almond”},{"#EFDFBB",“Dutch White”},{"#F08080",“LightCoral “},{#F0DC82,“Buff”},{"#F0E130",“Dandelion”},{"#F0E68C",“Khaki “},{#F0EAD6,“Eggshell”},{"#F0F8FF",“AliceBlue “},{#F0FFF0,“HoneyDew “},{#F0FFFF,“Azure “},{#F19CBB,“Amaranth Pink”},{"#F1A7FE",“Rich Brilliant Lavender”},{"#F2003C",“Red”},{"#F28500",“Tangerine”},{"#F2BDCD",“Orchid Pink”},{"#F2F3F4",“Anti-Flash White”},{"#F38FA9",“Vanilla Ice”},{"#F3E5AB",“Medium Champagne”},{"#F400A1",“Fashion Fuchsia”},{"#F49AC2",“Pastel Magenta”},{"#F4A460",“SandyBrown “},{#F4BBFF,“Brilliant Lavender”},{"#F4C2C2",“Baby Pink”},{"#F4C430",“Saffron”},{"#F4CA16",“Jonquil”},{"#F4F0EC",“Isabelline”},{"#F56991",“Light Crimson”},{"#F5C71A",“Deep Lemon”},{"#F5DEB3",“Wheat “},{#F5F5DC,“Beige “},{#F5F5F5,“WhiteSmoke “},{#F5FFFA,“MintCream “},{#F64A8A,“French Rose”},{"#F6ADC6",“Nadeshiko Pink”},{"#F6EABE",“Lemon Meringue”},{"#F75394",“Violet-Red”},{"#F77F00",“University Of Tennessee Orange”},{"#F77FBE",“Persian Pink”},{"#F78FA7",“Pink Sherbet”},{"#F7BFBE",“Spanish Pink”},{"#F7E7CE",“Champagne”},{"#F7E98E",“Flavescent”},{"#F88379",“Congo Pink”},{"#F8B878",“Mellow Apricot”},{"#F8DE7E",“Jasmine”},{"#F8F4FF",“Magnolia”},{"#F8F8FF",“GhostWhite “},{#F9429E,“Rose Bonbon”},{"#F94D00",“Tangelo”},{"#F984E5",“Pale Magenta”},{"#F984EF",“Light Fuchsia Pink”},{"#FA8072",“Salmon “},{#FAD6A5,“Deep Champagne”},{"#FADA5E",“Naples Yellow”},{"#FADADD",“Pale Pink”},{"#FADFAD",“Peach-Yellow”},{"#FAE7B5",“Banana Mania”},{"#FAEBD7",“AntiqueWhite “},{#FAF0BE,“Blond”},{"#FAF0E6",“Linen “},{#FAFAD2,“LightGoldenRodYellow “},{#FB4F14,“Orioles Orange”},{"#FB607F",“Brink Pink”},{"#FB9902",“Orange”},{"#FBA0E3",“Lavender Rose”},{"#FBAB60",“Rajah”},{"#FBAED2",“Lavender Pink”},{"#FBCCE7",“Classic Rose”},{"#FBCEB1",“Apricot”},{"#FBEC5D",“Corn”},{"#FC0FC0",“Shocking Pink”},{"#FC5A8D",“Strawberry”},{"#FC6C85",“Wild Watermelon”},{"#FC89AC",“Tickle Me Pink”},{"#FC8EAC",“Flamingo Pink”},{"#FCC200",“Golden Poppy”},{"#FCE883",“Yellow”},{"#FCF75E",“Icterine”},{"#FD0E35",“Scarlet”},{"#FD3F92",“French Fuchsia”},{"#FD5800",“Willpower Orange”},{"#FD5E53",“Sunset Orange”},{"#FD6C9E",“French Pink”},{"#FDBCB4",“Melon”},{"#FDD5B1",“Feldspar”},{"#FDDDE6",“Piggy Pink”},{"#FDEE00",“Aureolin”},{"#FDF5E6",“OldLace “},{#FDFD96,“Pastel Yellow”},{"#FDFF00",“Lemon Glacier”},{"#FE2712",“Red (RYB)”},{"#FE28A2",“Persian Rose”},{"#FE4164",“Neon Fuchsia”},{"#FE4EDA",“Purple Pizzazz”},{"#FE5A1D",“Giants Orange”},{"#FE6F5E",“Bittersweet”},{"#FEDF00",“Yellow”},{"#FEFE33",“Yellow”},{"#FEFEFA",“Baby Powder”},{"#FF0000",“Red “},{#FF0028,“Ruddy”},{"#FF0038",“Carmine Red”},{"#FF003F",“Electric Crimson”},{"#FF004F",“Folly”},{"#FF007F",“Bright Pink”},{"#FF0090",“Magenta (Process)”},{"#FF00FF",“Magenta “},{#FF033E,“American Rose”},{"#FF0800",“Candy Apple Red”},{"#FF1493",“DeepPink “},{#FF1DCE,“Hot Magenta”},{"#FF2400",“Scarlet”},{"#FF2800",“Ferrari Red”},{"#FF33CC",“Razzle Dazzle Rose”},{"#FF355E",“Radical Red”},{"#FF3800",“Coquelicot”},{"#FF4040",“Coral Red”},{"#FF43A4",“Wild Strawberry”},{"#FF4500",“OrangeRed “},{#FF4F00,“International Orange (Aerospace)”},{"#FF5349",“Red-Orange”},{"#FF55A3",“Brilliant Rose”},{"#FF5800",“Orange”},{"#FF5A36",“Portland Orange”},{"#FF5CCD",“Light Deep Pink”},{"#FF6347",“Tomato “},{#FF66CC,“Rose Pink”},{"#FF6700",“Safety Orange (Blaze Orange)”},{"#FF6961",“Pastel Red”},{"#FF69B4",“HotPink “},{#FF6E4A,“Outrageous Orange”},{"#FF6FFF",“Shocking Pink”},{"#FF7518",“Pumpkin”},{"#FF7538",“Orange”},{"#FF77FF",“Fuchsia Pink”},{"#FF7E00",“SAE/ECE Amber (Color)”},{"#FF7F00",“Orange”},{"#FF7F50",“Coral “},{#FF8243,“Mango Tango”},{"#FF878D",“Tulip”},{"#FF8C00",“DarkOrange “},{#FF8F00,“Princeton Orange”},{"#FF91A4",“Salmon Pink”},{"#FF91AF",“Baker-Miller Pink”},{"#FF9933",“Deep Saffron”},{"#FF9966",“Atomic Tangerine”},{"#FF9999",“Light Salmon Pink”},{"#FF9F00",“Orange Peel”},{"#FFA07A",“LightSalmon “},{#FFA089,“Vivid Tangerine”},{"#FFA343",“Neon Carrot”},{"#FFA500",“Orange “},{#FFA6C9,“Carnation Pink”},{"#FFA700",“Chrome Yellow”},{"#FFA812",“Dark Tangerine”},{"#FFAE42",“Yellow Orange”},{"#FFB300",“UCLA Gold”},{"#FFB347",“Pastel Orange”},{"#FFB6C1",“LightPink “},{#FFB7C5,“Cherry Blossom Pink”},{"#FFBA00",“Selective Yellow”},{"#FFBCD9",“Cotton Candy”},{"#FFBF00",“Amber”},{"#FFC0CB",“Pink “},{#FFC1CC,“Bubble Gum”},{"#FFC40C",“Mikado Yellow”},{"#FFC87C",“Topaz”},{"#FFCBA4",“Deep Peach”},{"#FFCC00",“Tangerine Yellow”},{"#FFCC33",“Sunglow”},{"#FFCC99",“Peach-Orange”},{"#FFCFF1",“Shampoo”},{"#FFD300",“Cyber Yellow”},{"#FFD700",“Gold “},{#FFD800,“School Bus Yellow”},{"#FFDAB9",“PeachPuff “},{#FFDB58,“Mustard”},{"#FFDDCA",“Unbleached Silk”},{"#FFDDF4",“Pink Lace”},{"#FFDEAD",“NavajoWhite “},{#FFDF00,“Golden Yellow”},{"#FFE135",“Banana Yellow”},{"#FFE4B5",“Moccasin “},{#FFE4C4,“Bisque “},{#FFE4CD,“Lumber”},{"#FFE4E1",“MistyRose “},{#FFE5B4,“Peach”},{"#FFEBCD",“BlanchedAlmond “},{#FFEF00,“Canary Yellow”},{"#FFEFD5",“PapayaWhip “},{#FFF000,“Yellow Rose”},{"#FFF0F5",“LavenderBlush “},{#FFF44F,“Lemon Yellow”},{"#FFF5EE",“SeaShell “},{#FFF600,“Cadmium Yellow”},{"#FFF700",“Lemon”},{"#FFF8DC",“Cornsilk “},{#FFF8E7,“Cosmic Latte”},{"#FFFACD",“LemonChiffon “},{#FFFAF0,“FloralWhite “},{#FFFAFA,“Snow “},{#FFFDD0,“Cream”},{"#FFFF00",“Yellow “},{#FFFF31,“Daffodil”},{"#FFFF66",“Laser Lemon”},{"#FFFFE0",“LightYellow “},{#FFFFF0,“Ivory “},{#FFFFFF,"White "}}
 
#Region “Form Create”
    Friend WithEvents pbColorWheel As System.Windows.Forms.PictureBox
    Friend WithEvents butPlotColors As System.Windows.Forms.Button
    Friend WithEvents cbStartColor As System.Windows.Forms.ComboBox
    Friend WithEvents cbEndColor As System.Windows.Forms.ComboBox
    Friend WithEvents Label1 As System.Windows.Forms.Label
    Friend WithEvents Label2 As System.Windows.Forms.Label
    Friend WithEvents nudNumColors As System.Windows.Forms.NumericUpDown
    Friend WithEvents Label3 As System.Windows.Forms.Label
    Friend WithEvents cbDirection As System.Windows.Forms.ComboBox
    Friend WithEvents Label4 As System.Windows.Forms.Label
    Friend WithEvents lblColor As System.Windows.Forms.Label
    Friend WithEvents tbSearchStart As System.Windows.Forms.TextBox
    Friend WithEvents tbSearchEnd As System.Windows.Forms.TextBox
 
    Private Sub InitForm()
        Me.pbColorWheel = New System.Windows.Forms.PictureBox()
        Me.butPlotColors = New System.Windows.Forms.Button()
        Me.cbStartColor = New System.Windows.Forms.ComboBox()
        Me.cbEndColor = New System.Windows.Forms.ComboBox()
        Me.Label1 = New System.Windows.Forms.Label()
        Me.Label2 = New System.Windows.Forms.Label()
        Me.nudNumColors = New System.Windows.Forms.NumericUpDown()
        Me.Label3 = New System.Windows.Forms.Label()
        Me.cbDirection = New System.Windows.Forms.ComboBox()
        Me.Label4 = New System.Windows.Forms.Label()
        Me.lblColor = New System.Windows.Forms.Label()
        Me.tbSearchStart = New System.Windows.Forms.TextBox()
        Me.tbSearchEnd = New System.Windows.Forms.TextBox()
        'pbColorWheel
        Me.pbColorWheel.Location = New System.Drawing.Point(31, 80)
        Me.pbColorWheel.Name = “pbColorWheel”
        Me.pbColorWheel.Size = New System.Drawing.Size(570, 570)
        Me.pbColorWheel.TabIndex = 0
        Me.pbColorWheel.TabStop = False
        'butPlotColors
        Me.butPlotColors.Location = New System.Drawing.Point(31, 25)
        Me.butPlotColors.Name = “butPlotColors”
        Me.butPlotColors.Size = New System.Drawing.Size(75, 23)
        Me.butPlotColors.TabIndex = 1
        Me.butPlotColors.Text = “Plot”
        Me.butPlotColors.UseVisualStyleBackColor = True
        'cbStartColor
        Me.cbStartColor.FormattingEnabled = True
        Me.cbStartColor.Location = New System.Drawing.Point(126, 27)
        Me.cbStartColor.Name = “cbStartColor”
        Me.cbStartColor.Size = New System.Drawing.Size(121, 21)
        Me.cbStartColor.TabIndex = 2
        'cbEndColor
        Me.cbEndColor.FormattingEnabled = True
        Me.cbEndColor.Location = New System.Drawing.Point(267, 27)
        Me.cbEndColor.Name = “cbEndColor”
        Me.cbEndColor.Size = New System.Drawing.Size(121, 21)
        Me.cbEndColor.TabIndex = 3
        'Label1
        Me.Label1.AutoSize = True
        Me.Label1.Location = New System.Drawing.Point(126, 9)
        Me.Label1.Name = “Label1”
        Me.Label1.Size = New System.Drawing.Size(59, 13)
        Me.Label1.TabIndex = 4
        Me.Label1.Text = “Start Color:”
        'Label2
        Me.Label2.AutoSize = True
        Me.Label2.Location = New System.Drawing.Point(270, 9)
        Me.Label2.Name = “Label2”
        Me.Label2.Size = New System.Drawing.Size(50, 13)
        Me.Label2.TabIndex = 5
        Me.Label2.Text = “To Color:”
        'nudNumColors
        Me.nudNumColors.Location = New System.Drawing.Point(405, 28)
        Me.nudNumColors.Maximum = New Decimal(New Integer() {255, 0, 0, 0})
        Me.nudNumColors.Minimum = New Decimal(New Integer() {1, 0, 0, 0})
        Me.nudNumColors.Name = “nudNumColors”
        Me.nudNumColors.Size = New System.Drawing.Size(57, 20)
        Me.nudNumColors.TabIndex = 6
        Me.nudNumColors.Value = New Decimal(New Integer() {100, 0, 0, 0})
        'Label3
        Me.Label3.AutoSize = True
        Me.Label3.Location = New System.Drawing.Point(402, 9)
        Me.Label3.Name = “Label3”
        Me.Label3.Size = New System.Drawing.Size(60, 13)
        Me.Label3.TabIndex = 7
        Me.Label3.Text = “# of colors:”
        'cbDirection
        Me.cbDirection.FormattingEnabled = True
        Me.cbDirection.Location = New System.Drawing.Point(477, 26)
        Me.cbDirection.Name = “cbDirection”
        Me.cbDirection.Size = New System.Drawing.Size(124, 21)
        Me.cbDirection.TabIndex = 8
        'Label4
        Me.Label4.AutoSize = True
        Me.Label4.Location = New System.Drawing.Point(481, 9)
        Me.Label4.Name = “Label4”
        Me.Label4.Size = New System.Drawing.Size(52, 13)
        Me.Label4.TabIndex = 9
        Me.Label4.Text = “Direction:”
        'lblColor
        Me.lblColor.AutoSize = True
        Me.lblColor.Location = New System.Drawing.Point(264, 654)
        Me.lblColor.Name = “lblColor”
        Me.lblColor.Size = New System.Drawing.Size(31, 13)
        Me.lblColor.TabIndex = 10
        Me.lblColor.Text = “Color”
        'tbSearchStart
        Me.tbSearchStart.Location = New System.Drawing.Point(126, 55)
        Me.tbSearchStart.Name = “tbSearchStart”
        Me.tbSearchStart.Size = New System.Drawing.Size(121, 20)
        Me.tbSearchStart.TabIndex = 11
        'tbSearchEnd
        Me.tbSearchEnd.Location = New System.Drawing.Point(267, 55)
        Me.tbSearchEnd.Name = “tbSearchEnd”
        Me.tbSearchEnd.Size = New System.Drawing.Size(121, 20)
        Me.tbSearchEnd.TabIndex = 12
        'ColorWhl
        Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
        Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
        Me.ClientSize = New System.Drawing.Size(627, 679)
        Me.Controls.Add(Me.tbSearchEnd)
        Me.Controls.Add(Me.tbSearchStart)
        Me.Controls.Add(Me.lblColor)
        Me.Controls.Add(Me.Label4)
        Me.Controls.Add(Me.cbDirection)
        Me.Controls.Add(Me.Label3)
        Me.Controls.Add(Me.nudNumColors)
        Me.Controls.Add(Me.Label2)
        Me.Controls.Add(Me.Label1)
        Me.Controls.Add(Me.cbEndColor)
        Me.Controls.Add(Me.cbStartColor)
        Me.Controls.Add(Me.butPlotColors)
        Me.Controls.Add(Me.pbColorWheel)
        Me.Name = “ColorWhl”
        Me.Text = “ColorWhl”
 
    End Sub
#End Region
End Class


Thanks Mike, 
  
 Your share is so detail, and I think the code should be very helpful if someone met same requirement. 
  
 Best reagards! 
  
 Don