![]() The only warnings that won’t be disabled are the type errors. Want to get rid of the warnings? Use the module:ToggleWarnings(false) function If you get nil from colors:GetColor(), it means that no color was found colors:Random() - a Random CSS Color is returned.ĥ. Module:Random() - it gives a Random CSS Color3 Value. colors:GetCSSColorNameFromHEX("#0000FF") - "blue" is returned. Module:GetCSSColorNameFromHEX(hex) - it gives the CSS color name from the HEX string. colors:GetCSSColorNameFromBrickColor(BrickColor.new("Really blue")) - "blue" is returned. Module:GetCSSColorNameFromBrickColor(color) - it gives the CSS color name from BrickColor entered. colors:GetCSSColorNameFromColor3(Color3.new(255,255,255)) - "white" is returned. Module:GetCSSColorNameFromColor3(color) - it gives the CSS color name from Color3 entered. Module:GetCSSColorNameFromHSV(hue, saturation, value) - it gives the CSS color name from HSV values. colors:GetCSSColorNameFromRGB(138,43,226) - "blueviolet" is returned. Module:GetCSSColorNameFromRGB(red, green, blue) - it gives the CSS color name from RGB values. colors:GetHEXColor("red") - "#FF0000" color is returned. Module:GetHEXColor(colorName) - it gives you the HEX string from the CSS color name. colors:GetBrickColor("Fuchsia") - "Hot pink" brick color is returned. Module:GetBrickColor(colorName) - it gives you the BrickColor from the CSS color name. In this option, you don’t have to worry about the letter’s case (Capital or Lower), since the function lowers it for you, so for long names such as LightGoldenRodYellow it is much easier. Local forestGreen = colors:GetColor("fORestGreeN")-Get the Color3 of the ForestGreen Color
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |