diff --git a/comp/src/gb.web.gui/.src/Color.class b/comp/src/gb.web.gui/.src/Color.class index 9e3f847ed..7de0ecf7d 100644 --- a/comp/src/gb.web.gui/.src/Color.class +++ b/comp/src/gb.web.gui/.src/Color.class @@ -67,9 +67,10 @@ Static Public Sub RGB((Red) As Integer, (Green) As Integer, (Blue) As Integer, O End -'' Convert a gambas colour integer into HTML compliant code. +'' Convert a gambas colour integer into HTML CSS compliant code. '' -'' The resulting string will be either a hash prefixed hex value. eg. '#00FF00' or an rgba() call with integer values if alpha (transparency) is set. eg. 'rgba(0,128,255,0.75)' +'' The resulting string will be either a hash prefixed hex value. eg. '#00FF00' that can be used anywhere or an rgba() string with integer values if alpha (transparency) is set. eg. 'rgba(0,128,255,0.75)' that should only be used in css **style** assignments. +'' Static Public Sub ToHTML({Color} As Integer) As String Return WebForm._GetColor({Color})