Garry's Mod Wiki

markup.Color

markup.Color

  string markup.Color( Color clr )

Just Added

This was just added in the latest version (2021.12.15). It might only be available on the Dev Branch right now.

Description

A convenience function that converts a Color into its markup ready string representation.

Arguments

1 Color clr
The Color to convert.

Returns

1 string
The markup color, for example 255,255,255.

Special Pages


Wikis

?

Render Time: 59ms

DB GetPage 41
Generate Html 4
SaveChanges (1) 6
Render Body 0
Render Sidebar 6