# @bootstrap-styled/color 中文文档

规范地址：https://npmcn.com/package/%40bootstrap-styled/color/

版本：1\.0\.9
npm 元数据更新时间：2022-04-04T20:11:51.047Z
中文译文更新时间：2026-11-08T11:29:36.098Z
软件包许可：MIT

本文由上游 README 翻译，可能存在偏差，请结合原文核对 API、命令与配置。版权与许可归原作者所有。

原始 npm 页面：https://www.npmjs.com/package/%40bootstrap-styled/color
原文对照：https://npmcn.com/package/%40bootstrap-styled/color/?lang=original
项目主页：https://bootstrap-styled.github.io/color
源码仓库：https://github.com/bootstrap-styled/color

## 关键信息（来自 npm 元数据）

- 包体积（解压后）：360 kB，12 个文件
- 模块格式：ESM + CJS
- TypeScript 类型：未声明
- Node.js 要求：\>=8
- 运行依赖：2 个
- 首次发布：2018-12-06T11:36:29.941Z
- 最新版本发布：2018-12-16T20:16:39.713Z
- 近 30 天下载量：16378（2026-10-09 至 2026-11-07，npm 官方下载统计）
- 已发布版本数：9（近 12 个月 0 个）

## 中文简介

Qix/color 为靴子样式的包装, 它可以帮助您使用颜色而无需担心, 如果提供的 Cs 颜色可以用颜色来操纵 .

## 安装

```sh
npm install @bootstrap-styled/color
```

也可以使用：`pnpm add @bootstrap-styled/color`、`yarn add @bootstrap-styled/color`、`bun add @bootstrap-styled/color`

## README

# 颜色

[![Build Status](https://travis-ci.org/bootstrap-styled/color.svg?branch=master)](https://travis-ci.org/bootstrap-styled/color) [![npm Version](https://img.shields.io/npm/v/@bootstrap-styled/color.svg?style=flat)](https://www.npmjs.com/package/@bootstrap-styled/color) [![License](https://img.shields.io/npm/l/@bootstrap-styled/color.svg?style=flat)](https://www.npmjs.com/package/@bootstrap-styled/color) [![NPM monthly downloads](https://img.shields.io/npm/dm/@bootstrap-styled/color.svg?style=flat)](https://npmjs.org/package/@bootstrap-styled/color) [![NPM total downloads](https://img.shields.io/npm/dt/@bootstrap-styled/color.svg?style=flat)](https://npmjs.org/package/@bootstrap-styled/color) [![npm Version](https://img.shields.io/node/v/@bootstrap-styled/color.svg?style=flat)](https://www.npmjs.com/package/@bootstrap-styled/color) [![Module formats](https://img.shields.io/badge/module%20formats-umd%2C%20cjs%2C%20esm-green.svg?style=flat)](https://www.npmjs.com/package/@bootstrap-styled/color) [![Coverage](https://sonarcloud.io/api/project_badges/measure?project=com.github.bootstrap-styled.color&metric=coverage)](https://sonarcloud.io/dashboard?id=com.github.bootstrap-styled.color) [![Quality gate status](https://sonarcloud.io/api/project_badges/measure?project=com.github.bootstrap-styled.color&metric=alert_status)](https://sonarcloud.io/dashboard?id=com.github.bootstrap-styled.color) [![gitter](https://badges.gitter.im/bootstrap-styled/bootstrap-styled.svg)](https://gitter.im/bootstrap-styled) [![Greenkeeper badge](https://badges.greenkeeper.io/bootstrap-styled/color.svg)](https://greenkeeper.io/)

Qix/color 为靴子样式的包装, 它可以帮助您使用颜色而无需担心, 如果提供的 Cs 颜色可以用颜色来操纵 .

## 目录

-   [文档](https://npmcn.com/package/%40bootstrap-styled/color/#readme-documentation)
-   [捐款](https://npmcn.com/package/%40bootstrap-styled/color/#readme-contributing)
-   [麻省理工学院许可证](https://npmcn.com/package/%40bootstrap-styled/color/#readme-license-mit)

* * *

## 文档

读取 [颜色文档](https://bootstrap-styled.github.io/color)。 。 。 .

## 捐款

狦稱腊и [贡献和社区准则](https://github.com/bootstrap-styled/color/blob/master/CONTRIBUTING.md)他们会帮助你在当地建立 并解释整个过程.

请注意,所有寄存器 在靴子式的组织 [行为守则](https://github.com/bootstrap-styled/color/blob/master/CODE_OF_CONDUCT.md),确保审查和遵循.

## 麻省理工学院许可证

版权2018 Yeutech有限公司

特此准许任何人免费获得本软件和相关文件文件("软件")的副本,不受限制地在软件中进行交易,包括不受限制地享有软件的使用、复制、修改、合并、出版、分发、分版和(或)销售的权利,并允许软件获得者这样做,但须符合下列条件: 1

上述版权通知和许可通知应载入软件的所有副本或大部分.

软件是提供的"AS IS", 没有任何种类的恐惧, 释放或被卷入, 包括但不限制在 危机的保障, 证明一个特定的目的和无关。 任何索赔、索赔或其他负债,无论是合同、交易或其他行为,产生于、产生于或涉及软件或软件的使用或其他交易的行为,都不得作为担保.

## 常见问题

### @bootstrap-styled/color 是什么？

Qix/color 为靴子样式的包装, 它可以帮助您使用颜色而无需担心, 如果提供的 Cs 颜色可以用颜色来操纵 \.

### 如何安装 @bootstrap-styled/color？

在项目目录运行 npm install @bootstrap-styled/color，或使用 pnpm add / yarn add / bun add。

### @bootstrap-styled/color 支持 TypeScript 吗？

该包的 package\.json 没有声明类型入口。需要类型提示时，可以在 npm 上查找社区维护的 @types/bootstrap-styled\_\_color 是否存在。

### @bootstrap-styled/color 支持 ESM 还是 CommonJS？

同时提供 ES Module 与 CommonJS 入口，import 和 require\(\) 都可以使用，打包工具会自动选择合适的版本。

### @bootstrap-styled/color 需要什么版本的 Node\.js？

package\.json 的 engines 字段要求 Node\.js \>=8。版本不符时 npm 默认只给出警告，开启 engine-strict 后会拒绝安装。

### @bootstrap-styled/color 可以商用吗？

@bootstrap-styled/color 使用 MIT 许可。宽松许可：允许商业使用、修改和再分发，通常只需在分发时保留原版权与许可声明。以上为概括，不构成法律意见，请以许可原文为准。

### @bootstrap-styled/color 的下载量有多少？

根据 npm 官方下载统计，@bootstrap-styled/color 在 2026/10/09 – 2026/11/07 这 30 天内被下载 16,378 次，日均约 546 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入，适合横向比较热度，不能直接等同于使用人数。

### @bootstrap-styled/color 还在维护吗？

最新版本 1\.0\.9 发布于 2018/12/17（7 年前）；至今共发布 9 个版本，其中过去 12 个月发布了 0 个；首次发布于 2018/12/06。发布频率只是参考信号：功能稳定的工具可能很少需要更新，建议结合源码仓库的 issue 和提交记录判断。

