PHPackages                             phpcolor/apple-colors - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. phpcolor/apple-colors

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

phpcolor/apple-colors
=====================

Apple Colors - PHP Color Palette

v0.2.0(1y ago)35MITPHPPHP &gt;=8.3

Since Apr 10Pushed 3mo agoCompare

[ Source](https://github.com/phpcolor/apple-colors)[ Packagist](https://packagist.org/packages/phpcolor/apple-colors)[ Docs](https://phpcolor.dev/)[ RSS](/packages/phpcolor-apple-colors/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (6)Used By (0)

Apple Colors
============

[](#apple-colors)

This package provides access to the color palettes used in Apple interfaces.

[![Apple Colors](Resources/colors.svg)](Resources/colors.svg)

Installation
------------

[](#installation)

```
composer require phpcolor/apple-colors
```

Usage
-----

[](#usage)

### Color Palettes

[](#color-palettes)

```
use PhpColor\Colors\Apple\AppleColors as Apple;

$colors = Apple::iOS();
$colors = Apple::iPadOS();
$colors = Apple::macOS();
$colors = Apple::tvOS();
$colors = Apple::visionOS();
$colors = Apple::watchOS();
```

### Themes

[](#themes)

```
use PhpColor\Colors\Apple\AppleColors as Apple;

$colors = Apple::macOS('light');
$colors = Apple::macOS('dark');

$colors = Apple::iOS('light');
$colors = Apple::iOS('dark');

// visionOS has only one theme
$colors = Apple::visionOS();
```

### Color names

[](#color-names)

```
use PhpColor\Colors\Apple\AppleColors as Apple;

$colors = Apple::watchOS();

$names = $colors->getNames();
// 'red', 'orange', 'yellow', 'green', 'mint', 'teal', 'cyan',
// 'blue', 'indigo', 'purple', 'pink', 'brown', 'gray'
```

### Color values

[](#color-values)

```
use PhpColor\Colors\Apple\AppleColors as Apple;

$colors = Apple::macOS();

echo $colors->blue;             // #007AFF
echo $colors->get('indigo');    // #5856D6
```

---

[![Apple Colors](Resources/colors.svg)](Resources/colors.svg)

Credits
-------

[](#credits)

The colors listed in this project are based on the colors used by [Apple](https://www.apple.com/).

License
-------

[](#license)

This [PHPColor](https://phpcolor.dev) package is released under the [MIT license](LICENSE).

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance63

Regular maintenance activity

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~72 days

Total

5

Last Release

482d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a8951d49b371d210280a58ce48969a07d1f49924810f8a1fab3a9343eb46fdc9?d=identicon)[simonandre](/maintainers/simonandre)

![](https://www.gravatar.com/avatar/a798e0337c09608ab5c3d78d5bd120490a8e8689c4ef026bea27cfc136c7d60c?d=identicon)[raphael-geffroy](/maintainers/raphael-geffroy)

---

Top Contributors

[![smnandre](https://avatars.githubusercontent.com/u/1359581?v=4)](https://github.com/smnandre "smnandre (8 commits)")

---

Tags

applecolorcolorsiosmacospalettephpscalewatchoscolorscaleappleiospalettemacosvisionOSwatchOStvOS

### Embed Badge

![Health badge](/badges/phpcolor-apple-colors/health.svg)

```
[![Health](https://phpackages.com/badges/phpcolor-apple-colors/health.svg)](https://phpackages.com/packages/phpcolor-apple-colors)
```

###  Alternatives

[pkpass/pkpass

PHP PKPass class for iOS Wallet

9733.0M6](/packages/pkpass-pkpass)[spatie/color

A little library to handle color conversions

38018.9M28](/packages/spatie-color)[mexitek/phpcolors

A series of methods that let you manipulate colors. Just incase you ever need different shades of one color on the fly.

5003.6M18](/packages/mexitek-phpcolors)[eo/passbook

iOS Passbook for PHP

2651.6M2](/packages/eo-passbook)[mistic100/randomcolor

Generate attractive random colors

2431.4M6](/packages/mistic100-randomcolor)[thenextweb/passgenerator

A Laravel package to create Apple Wallet (old Passbook) compatible tickets.

297435.6k](/packages/thenextweb-passgenerator)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
