Function Namespace Pot.Complex.rand.color
Defined in: <pot.js>.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
Pot.Complex.rand.color((addSharp))
Returns the random color part.
|
| Method Attributes | Method Name and Description |
|---|---|
| <static> |
Pot.Complex.rand.color.lower((addSharp))
Returns the random color part as lowercase.
|
| <static> |
Pot.Complex.rand.color.upper((addSharp))
Returns the random color part as uppercase.
|
Function Namespace Detail
Pot.Complex.rand.color((addSharp))
Returns the random color part.
- Parameters:
- {Boolean} (addSharp)
- (Optional) Whether add the sharp '#' to prefix.
- Returns:
- {String} The random color part.
Method Detail
<static>
{Function}
Pot.Complex.rand.color.lower((addSharp))
Returns the random color part as lowercase.
- Parameters:
- {Boolean} (addSharp)
- (Optional) Whether add the sharp '#' to prefix.
- Returns:
- {String} The random color part.
<static>
{Function}
Pot.Complex.rand.color.upper((addSharp))
Returns the random color part as uppercase.
- Parameters:
- {Boolean} (addSharp)
- (Optional) Whether add the sharp '#' to prefix.
- Returns:
- {String} The random color part.