Linux sg77.dns-private.com 5.14.0-503.40.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Mon May 5 06:06:04 EDT 2025 x86_64
LiteSpeed
Server IP : 135.181.230.13 & Your IP : 216.73.216.199
Domains :
Cant Read [ /etc/named.conf ]
User : pilasate
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
pilasate /
schoolms /
vendor /
spatie /
color /
src /
Delete
Unzip
Name
Size
Permission
Date
Action
Exceptions
[ DIR ]
drwxrwxrwx
2025-03-23 13:35
CIELab.php
2.4
KB
-rw-rw-rw-
2025-02-09 22:22
Cmyk.php
3.04
KB
-rw-rw-rw-
2025-02-09 22:22
Color.php
625
B
-rw-rw-rw-
2025-02-09 22:22
Contrast.php
757
B
-rw-rw-rw-
2025-02-09 22:22
Convert.php
10.16
KB
-rw-rw-rw-
2025-02-09 22:22
Distance.php
4.25
KB
-rw-rw-rw-
2025-02-09 22:22
Factory.php
884
B
-rw-rw-rw-
2025-02-09 22:22
Hex.php
3.44
KB
-rw-rw-rw-
2025-02-09 22:22
HsPatterns.php
1.57
KB
-rw-rw-rw-
2025-02-09 22:22
Hsb.php
2.69
KB
-rw-rw-rw-
2025-02-09 22:22
Hsl.php
2.69
KB
-rw-rw-rw-
2025-02-09 22:22
Hsla.php
3.13
KB
-rw-rw-rw-
2025-02-09 22:22
Named.php
728
B
-rw-rw-rw-
2025-02-09 22:22
Names.php
12.5
KB
-rw-rw-rw-
2025-02-09 22:22
Rgb.php
2.96
KB
-rw-rw-rw-
2025-02-09 22:22
Rgba.php
2.6
KB
-rw-rw-rw-
2025-02-09 22:22
Validate.php
5.11
KB
-rw-rw-rw-
2025-02-09 22:22
Xyz.php
2.52
KB
-rw-rw-rw-
2025-02-09 22:22
Save
Rename
<?php namespace Spatie\Color; class Xyz implements Color { /** @var float */ protected $x; protected $y; protected $z; public function __construct(float $x, float $y, float $z) { Validate::xyzValue($x, 'x'); Validate::xyzValue($y, 'y'); Validate::xyzValue($z, 'z'); $this->x = $x; $this->y = $y; $this->z = $z; } public static function fromString(string $string) { Validate::xyzColorString($string); $matches = null; preg_match('/xyz\( *(\d{1,2}\.?\d+? *, *\d{1,3}\.?\d+? *, *\d{1,3}\.?\d+?) *\)/i', $string, $matches); $channels = explode(',', $matches[1]); [$x, $y, $z] = array_map('trim', $channels); return new static($x, $y, $z); } public function x(): float { return $this->x; } public function y(): float { return $this->y; } public function z(): float { return $this->z; } public function red(): int { $rgb = $this->toRgb(); return $rgb->red(); } public function blue(): int { $rgb = $this->toRgb(); return $rgb->blue(); } public function green(): int { $rgb = $this->toRgb(); return $rgb->green(); } public function toCIELab(): CIELab { [$l, $a, $b] = Convert::xyzValueToCIELab( $this->x, $this->y, $this->z ); return new CIELab($l, $a, $b); } public function toCmyk(): Cmyk { return $this->toRgb()->toCmyk(); } public function toHex(?string $alpha = null): Hex { return $this->toRgb()->toHex($alpha ?? 'ff'); } public function toHsb(): Hsb { return $this->toRgb()->toHsb(); } public function toHsl(): Hsl { return $this->toRgb()->toHSL(); } public function toHsla(?float $alpha = null): Hsla { return $this->toRgb()->toHsla($alpha ?? 1); } public function toRgb(): Rgb { [$red, $green, $blue] = Convert::xyzValueToRgb( $this->x, $this->y, $this->z ); return new Rgb($red, $green, $blue); } public function toRgba(?float $alpha = null): Rgba { return $this->toRgb()->toRgba($alpha ?? 1); } public function toXyz(): self { return new self($this->x, $this->y, $this->z); } public function __toString(): string { return "xyz({$this->x},{$this->y},{$this->z})"; } }