Roblox Lua Color3
The green value of the color3 number color3b the blue value of the color3 functions.
Roblox lua color3. Heres an example on how to use it properly. Color3 color3lerp color3 color number alpha returns a color3 interpolated between two other color3 objects. This property along with textboxfont textboxtextsize and textboxtexttransparency will determine the visual properties of text. Fromrgb 29 32 255 trollinggui.
Color3lerp is a way to interpolate between two color3 values. The reason the code you provided is not working is because you have the delta argument of lerp set to 0. The eight basic types in lua are nil boolean number string function userdata thread and table. Sign up it unlocks many cool features.
The color property determines the color of a part. If the part has a basepartmaterial this also determines the color used when rendering the material textureif this property is set basepartbrickcolor will use the closest brickcolor to the color3 value. Other visual properties of a part are determined by baseparttransparency and basepartreflectance. Not to be confused with datatypebrickcolor a data type involving named colors.
Number number number color3tohsv color3 color returns the hue saturation and value of a color3. The alpha value must be a number from 0 1. Its basically the cframelerp of color3. Morirsmedia apr 17th 2020 738 never not a member of pastebin yet.
Color3 is used for precise coloring of objects on screen through properties like basepartcolor and guiobjectbackgroundcolor3. Local randomhub instance. By continuing to use pastebin you agree to our use of cookies as described in the cookies policy. The full list of non roblox and roblox data types.
Text is rendered after the text stroke textboxtextstrokecolor3. Color3 is a data type that describes a color using r g and b components which are on the range 0 1. This property determines the color of all the text rendered by a guiobjectgui element. Data typesbasic lua typesnil boolean number string function.
A data type is a set of possible values from which an expression can take its value and the set of operators that can be used to represent these values. Its important that text is easily read by players.