Garry's Mod

Garry's Mod

36 ratings
Hexadecimal Color Command
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Build, Fun
File Size
Posted
958.000 B
Nov 9, 2017 @ 7:22pm
1 Change Note ( view )

Subscribe to download
Hexadecimal Color Command

In 1 collection by SweptThr.one
SweptThrone Catalogue
135 items
Description
A basic command if you know color hexes better than RGB values.

//

A simple feature for a simple audience, the Hexadecimal Color Command.

The Hexadecimal Color Command adds a chat command to your game that you can use if you prefer using hexadecimal color codes instead of the R G B text boxes in the tool menu.

To use this, type --setcolor #HEXDEC to update your color tool (of course, replace HEXDEC with the hexadecimal code of your choice). There's also an additional command that takes RGB colors and makes them hexadecimal. Type --rgb(rrr,ggg,bbb) and the hexadecimal format will appear in your chat.

Only use this if you know what you are doing. I did limited testing to error-proof this. Inputting malformed or just stupid codes WILL cause a scripting error to occur. I will not fix these.

I made this because I was bored and someone wanted a hexadecimal feature for their color tool, so I made do.


[sweptthr.one]

Credits:
Me - All of the code
4 Comments
SweptThr.one  [author] Nov 3, 2023 @ 12:27pm 
it takes hexadecimal values
Mr McFսckSauce Nov 3, 2023 @ 11:46am 
so i guess it doesnt take very complex values?
SweptThr.one  [author] Oct 29, 2023 @ 11:56am 
what's broken about it?
Mr McFսckSauce Oct 29, 2023 @ 11:43am 
pls fix it would help me a lot with my builds