RGBToDecimal: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

20 May 2022

  • curprev 23:3123:31, 20 May 2022LODS talk contribs 855 bytes +24 No edit summary
  • curprev 23:2523:25, 20 May 2022LODS talk contribs 831 bytes +831 Created page with "{{Useful Function}} This function convert RGB color to Decimal color. ==Syntax== <syntaxhighlight lang="lua">RGBToDecimal( float r, float g, float b )</syntaxhighlight> ==Arguments== * '''r''': The Red color value * '''g''': The Green color value * '''b''': The Blue color value ==Returns== Returns a decimal integer converted from specified RGB values ==Code== <section name="Code" class="both" show="true"> <syntaxhighlight lang="lua"> function RGBToDecimal(r, g, b..."