|
@@ -22,14 +22,14 @@ return {
|
|
|
type = 'number',
|
|
|
description = 'The blue component of the color.'
|
|
|
},
|
|
|
+ hex = {
|
|
|
+ type = 'number',
|
|
|
+ description = 'A hexcode to use for the color.'
|
|
|
+ },
|
|
|
a = {
|
|
|
type = 'number',
|
|
|
default = '1.0',
|
|
|
description = 'The alpha component of the color.'
|
|
|
- },
|
|
|
- hex = {
|
|
|
- type = 'number',
|
|
|
- description = 'A hexcode to use for the color (alpha is not supported).'
|
|
|
}
|
|
|
},
|
|
|
returns = {},
|
|
@@ -43,11 +43,11 @@ return {
|
|
|
returns = {}
|
|
|
},
|
|
|
{
|
|
|
- arguments = { 'colorType', 'hex' },
|
|
|
+ arguments = { 'colorType', 'hex', 'a' },
|
|
|
returns = {}
|
|
|
},
|
|
|
{
|
|
|
- arguments = { 'hex' },
|
|
|
+ arguments = { 'hex', 'a' },
|
|
|
returns = {}
|
|
|
}
|
|
|
},
|