Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
chem
v0.6.0
Array
Char
Chem
Angle
Atom
AtomCollection
AtomView
Bias
Bond
BondArray
BondOrder
Chain
ChainCollection
ChainView
Connectivity
Constraint
Cube
Reader
Writer
DCD
Reader
Dihedral
DX
Reader
Writer
Element
Error
Format
FormatReader
Attached
Headed
Indexable
MultiEntry
FormatWriter
MultiEntry
Gen
Reader
Writer
Improper
Metadata
Any
ValueType
Mol
Reader
Mol2
Reader
Writer
ParseException
PDB
Hybrid36
Reader
Writer
BondOptions
PeriodicTable
Protein
DSSP
HlxParams
PSIQUE
SecondaryStructureBlender
SecondaryStructure
SecondaryStructureCalculator
SecondaryStructureType
Stride
Writer
PSF
Reader
PullParser
PyMOL
Writer
RegisterFormat
Residue
ResidueCollection
ResidueType
ResidueView
SDF
Reader
Spatial
CoordinatesProxy
Error
FloatTriple
Grid
Dimensions
Info
Location
KDTree
Mat3
NotPeriodicError
NumberTriple
Parallelepiped
PeriodicKDTree
Quat
Size3
Transform
Vec3
Structure
Builder
Experiment
Method
Templates
Atom
Bond
Builder
Detector
MatchData
Registry
Residue
SpecParser
AtomRecord
BondRecord
ImplicitBondRecord
Ter
Topology
VASP
Chgcar
Reader
Writer
GridReader
GridWriter
Locpot
Reader
Writer
Poscar
Reader
Writer
VMD
Writer
XYZ
Reader
Writer
Colorize
ColorRGB
Enumerable
Float
Indexable
Number
Range
Built with Crystal 1.9.2
2023-10-08 13:24:04 UTC
struct
Colorize::ColorRGB
Colorize::ColorRGB
Struct
Value
Object
Overview
An RGB color.
Defined in:
chem/core_ext/colorize.cr
Constructors
.from_hex
(hex : String) :
self
Instance Method Summary
#to_a
: Array(UInt8)
Constructor Detail
def self.
from_hex
(hex : String) :
self
#
[
View source
]
Instance Method Detail
def
to_a
:
Array
(UInt8)
#
[
View source
]