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 Hsl implements Color { /** @var float */ protected $hue; protected $saturation; protected $lightness; public function __construct(float $hue, float $saturation, float $lightness) { Validate::hslValue($saturation, 'saturation'); Validate::hslValue($lightness, 'lightness'); $this->hue = $hue; $this->saturation = $saturation; $this->lightness = $lightness; } public static function fromString(string $string) { Validate::hslColorString($string); $matches = null; preg_match(HsPatterns::getExtractionPattern('hsl'), $string, $matches); return new static( (float) $matches[1], (float) $matches[2], (float) $matches[3], ); } public function hue(): float { return $this->hue; } public function saturation(): float { return $this->saturation; } public function lightness(): float { return $this->lightness; } public function red(): int { return Convert::hslValueToRgb($this->hue, $this->saturation, $this->lightness)[0]; } public function green(): int { return Convert::hslValueToRgb($this->hue, $this->saturation, $this->lightness)[1]; } public function blue(): int { return Convert::hslValueToRgb($this->hue, $this->saturation, $this->lightness)[2]; } public function toCIELab(): CIELab { return $this->toRgb()->toCIELab(); } 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(): self { return new self($this->hue(), $this->saturation(), $this->lightness()); } public function toHsla(?float $alpha = null): Hsla { return new Hsla($this->hue(), $this->saturation(), $this->lightness(), $alpha ?? 1); } public function toRgb(): Rgb { return new Rgb($this->red(), $this->green(), $this->blue()); } public function toRgba(?float $alpha = null): Rgba { return new Rgba($this->red(), $this->green(), $this->blue(), $alpha ?? 1); } public function toXyz(): Xyz { return $this->toRgb()->toXyz(); } public function __toString(): string { $hue = round($this->hue); $saturation = round($this->saturation); $lightness = round($this->lightness); return "hsl({$hue},{$saturation}%,{$lightness}%)"; } }