list of colours in unity C#

// List Of Unity Colour/Color Values (Used for C# Scripting)

public class HueColour {
 
     public enum HueColorNames{
         Lime,
         Green,
         Aqua,
         Blue,
         Navy,
         Purple,
         Pink,
         Red,
         Orange,
         Yellow
     }
 
     private static Hashtable hueColourValues = new Hashtable{
         { HueColorNames.Lime,     new Color32( 166 , 254 , 0, 1 ) },
         { HueColorNames.Green,     new Color32( 0 , 254 , 111, 1 ) },
         { HueColorNames.Aqua,     new Color32( 0 , 201 , 254, 1 ) },
         { HueColorNames.Blue,     new Color32( 0 , 122 , 254, 1 ) },
         { HueColorNames.Navy,     new Color32( 60 , 0 , 254, 1 ) },
         { HueColorNames.Purple, new Color32( 143 , 0 , 254, 1 ) },
         { HueColorNames.Pink,     new Color32( 232 , 0 , 254, 1 ) },
         { HueColorNames.Red,     new Color32( 254 , 9 , 0, 1 ) },
         { HueColorNames.Orange, new Color32( 254 , 161 , 0, 1 ) },
         { HueColorNames.Yellow, new Color32( 254 , 224 , 0, 1 ) },
     };

3.57
7
Ziggy 80 points

                                    Color color = new Color(red,green,blue,alpha)//Alpha 0 is transparent

3.57 (7 Votes)
0
Are there any code examples left?
Create a Free Account
Unlock the power of data and AI by diving into Python, ChatGPT, SQL, Power BI, and beyond.
Sign up
Develop soft skills on BrainApps
Complete the IQ Test
Relative searches
unity color.red unity color c# unity color c new color in c# unity how to apply color in unity Unity C# Color how do I make a custom color unity create a color unity create new color unity color with code custom colors unity unity color list unity set colors newColor unity customize unity colors unity Color.color cs unity create custom color how to change colors in unity how to set color in c# unity how to set color with color code unity set custom color c# unity unity color.color create new color in unity c# custom color unity code Unity C# new color all colours in color. unity how to do a new color in unity can you change colors of unity ui can you change colors unity Colors in unity create new color unity create color unity unity new colorobject color in unity unity set color value unity color value unity colors unity new color values List of all colors unity unity list of all colors change color of texture unity use a material for 3 colors on 3 models unity c# creating a list of colors c# unity set colors unity unity new Color() color.a unity custom color unity unity set color unity how to make new color List of Colors for unity unity color a set unity color set color unity unity color brown color code for unity unity color codes unity color tint convert from color to unity.color red color is blue in unity name of transparent blue color in unity colors in unity script unity color to rgba Color constructor unity create new color c# unity unity colour points by rgb values methods unity Colour points by RGB values default colors unity C# unity create custom color set a color unity unity new clor how to make a color unity c# unity brown color list of colours in unity C# unity how to make new color froim 0 to 1 define a color when declare unity unity color fromargb Unity augmenter color code unity rgba color how to get the couler brown in unity unity scripting c# color how to draw a color in color in unity editor All colors you can use in unity represent colors in rgba in unity color unity unity create a color code all Color.color that can be used in unity new colour unity Color RGB Unity 2D light blue rgb unity unity rgb floats for orange colors unity script unity rgb color unity custom color unity new color unity Color unity using a color method color options in unity Color can i use vector3 for rgb unity color by code unity color variable new color() in unity how to set new color unity unity color() values C# unity color unity color values new color unity
Made with love
This website uses cookies to make IQCode work for you. By using this site, you agree to our cookie policy

Welcome Back!

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign in
Recover lost password
Or log in with

Create a Free Account

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign up
Or sign up with
By signing up, you agree to the Terms and Conditions and Privacy Policy. You also agree to receive product-related marketing emails from IQCode, which you can unsubscribe from at any time.
Creating a new code example
Code snippet title
Source