Class
Less::Node::Color
In:
lib/less/engine/nodes/literal.rb
Parent:
Object
rgb
(255, 0, 0) f0f0f0
Methods
*
+
-
/
alpha
coerce
inspect
new
normalize
operate
rgb
to_css
to_ruby
to_s
Included Modules
Literal
Attributes
a
[R]
b
[R]
g
[R]
r
[R]
Public Class methods
new
(r, g, b, a = 1.0)
Public Instance methods
*
(other;)
+
(other;)
-
(other;)
/
(other;)
alpha
(v)
coerce
(other)
inspect
()
operate
(op, other)
rgb
()
to_css
()
to_ruby
()
to_s
()
Protected Instance methods
normalize
(v, max = 255, min = 0)
[Validate]