toggle menu
kord
0.16.0-SNAPSHOT
common
switch theme
search in API
kord-common
/
dev.kord.common
/
Color
Color
@
Serializable
(
with
=
Color.Serializer::class
)
class
Color
(
rgb
:
Int
)
(
source
)
Members
Constructors
Color
Link copied to clipboard
constructor
(
red
:
Int
,
green
:
Int
,
blue
:
Int
)
constructor
(
rgb
:
Int
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
blue
Link copied to clipboard
val
blue
:
Int
green
Link copied to clipboard
val
green
:
Int
red
Link copied to clipboard
val
red
:
Int
rgb
Link copied to clipboard
val
rgb
:
Int
Functions
equals
Link copied to clipboard
open
operator override
fun
equals
(
other
:
Any
?
)
:
Boolean
hash
Code
Link copied to clipboard
open
override
fun
hashCode
(
)
:
Int
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String