extras-scala-io
extras-scala-io
extras.scala.io
CanClose
CanClose
Color
Color
extras.scala.io.file
TempFiles
TempDir
syntax
syntax
ExtrasFileOps
extras.scala.io.syntax
ColorSyntax
color
extras.scala.io.syntax.truecolor
RainbowSyntax
RgbSyntax
all
rainbow
rgb
extras.scala.io.truecolor
Rainbow
Index
Rgb
Rgb
Blue
Green
Red
extras-scala-io
/
extras.scala.io.truecolor
/
Rgb
Rgb
object
Rgb
Companion:
class
Graph
Supertypes
Self type
class
Object
trait
Matchable
class
Any
Rgb
.type
Type members
Value members
Givens
Extensions
Type members
Classlikes
object
Blue
object
Green
object
Red
Types
type
Blue
=
Blue
type
Green
=
Green
type
Red
=
Red
Value members
Concrete methods
inline
def
apply
(
rgb:
Int
):
Rgb
def
fromHexString
(
hex:
String
):
Either
[
String
,
Rgb
]
def
fromInt
(
rgb:
Int
):
Either
[
String
,
Rgb
]
def
fromRgbInts
(
red:
Int
,
green:
Int
,
blue:
Int
):
Either
[
String
,
Rgb
]
def
unapply
(
rgb:
Rgb
):
Option
[(
Red
,
Green
,
Blue
)]
@SuppressWarnings
(scala.Array.apply[java.lang.String]("org.wartremover.warts.Throw")(scala.reflect.ClassTag.apply[java.lang.String](classOf[java.lang.String])))
def
unsafeFromHexString
(
hex:
String
):
Rgb
def
unsafeFromInt
(
rgb:
Int
):
Rgb
@SuppressWarnings
(scala.Array.apply[java.lang.String]("org.wartremover.warts.Throw")(scala.reflect.ClassTag.apply[java.lang.String](classOf[java.lang.String])))
def
unsafeFromRgbInts
(
red:
Int
,
green:
Int
,
blue:
Int
):
Rgb
Concrete fields
val
BlueBits
:
Int
val
GreenBits
:
Int
val
RedBits
:
Int
val
RgbBits
:
Int
Givens
Givens
given
derived$CanEqual
:
CanEqual
[
Rgb
,
Rgb
]
Extensions
Extensions
extension
(rgb:
Rgb
)
def
blue
:
Blue
def
blue
(
value:
Int
):
Rgb
def
color
(
s:
String
):
String
def
colored
(
s:
String
):
String
def
green
:
Green
def
green
(
value:
Int
):
Rgb
def
red
:
Red
def
red
(
value:
Int
):
Rgb
def
toAsciiEsc
:
String
def
toHex
:
String
def
toHexHtml
:
String
def
toRgbInts
: (
Int
,
Int
,
Int
)