Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@quenty/color3utils

Package Overview
Dependencies
Maintainers
1
Versions
210
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@quenty/color3utils

Utility methods for Roblox Color3 values

  • 1.0.3-canary.200.8329656.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
38
decreased by-87.78%
Maintainers
1
Weekly downloads
 
Created
Source

Color3Utils

Documentation Discord Build and release status

Utility methods for Roblox Color3 values

Installation

npm install @quenty/color3utils --save

Usage

Usage is designed to be simple.

Color3Utils.getRelativeLuminance(color)

Luminance as per W3 per sRGB colorspace normalized with 0

Color3Utils.textShouldBeBlack(color)

Returns whether or not the text should be black using

Color3Utils.scaleValue(color3, percent)

Color3Utils.setValue(color3, value)

Color3Utils.setHue(color3, hue)

Color3Utils.scaleSaturation(color3, percent)

Color3Utils.setSaturation(color3, saturation)

Keywords

FAQs

Package last updated on 31 Jul 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc