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.217.69
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 Cmyk implements Color { /** @var float */ protected $cyan; protected $magenta; protected $yellow; protected $key; public function __construct(float $cyan, float $magenta, float $yellow, float $key) { Validate::cmykValue($cyan, 'cyan'); Validate::cmykValue($magenta, 'magenta'); Validate::cmykValue($yellow, 'yellow'); Validate::cmykValue($key, 'key (black)'); $this->cyan = $cyan; $this->magenta = $magenta; $this->yellow = $yellow; $this->key = $key; } public static function fromString(string $string) { Validate::cmykColorString($string); $matches = null; preg_match('/cmyk\( *(\d{1,3})%? *, *(\d{1,3})%? *, *(\d{1,3})%? *, *(\d{1,3})%? *\)/i', $string, $matches); return new static($matches[1] / 100, $matches[2] / 100, $matches[3] / 100, $matches[4] / 100); } public function red(): int { return Convert::cmykValueToRgb($this->cyan, $this->magenta, $this->yellow, $this->key)[0]; } public function green(): int { return Convert::cmykValueToRgb($this->cyan, $this->magenta, $this->yellow, $this->key)[1]; } public function blue(): int { return Convert::cmykValueToRgb($this->cyan, $this->magenta, $this->yellow, $this->key)[2]; } public function cyan(): float { return $this->cyan; } public function magenta(): float { return $this->magenta; } public function yellow(): float { return $this->yellow; } public function key(): float { return $this->key; } public function black(): float { return $this->key; } public function toCmyk(): Cmyk { return new self($this->cyan, $this->magenta, $this->yellow, $this->key); } public function toCIELab(): CIELab { return $this->toRgb()->toCIELab(); } 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 { list($red, $green, $blue) = Convert::cmykValueToRgb($this->cyan, $this->magenta, $this->yellow, $this->key); return new Rgb($red, $green, $blue); } public function toRgba(?float $alpha = null): Rgba { return $this->toRgb()->toRgba($alpha ?? 1); } public function toXyz(): Xyz { return $this->toRgba()->toXyz(); } public function __toString(): string { $cyan = round($this->cyan * 100); $magenta = round($this->magenta * 100); $yellow = round($this->yellow * 100); $key = round($this->key * 100); return "cmyk({$cyan}%,{$magenta}%,{$yellow}%,{$key}%)"; } }