6.9.82 • Published 11 months ago

@hishprorg/deleniti-illo v6.9.82

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

Chromagen

npm.io

Chromagen generates HSL color schemes.

npm Version   GitHub issues

Installation and Usage

Chromagen uses Microbundle to produce ESM (ECMAScript modules), CJS (CommonJS), and UMD (Universal Module Definition) bundles that work in various environments.

Node.js and similar environments

npm i @hishprorg/deleniti-illo
import chromagen from '@hishprorg/deleniti-illo';
const colorScheme = chromagen();
console.log(colorScheme);

CommonJS require syntax:

const chromagen = require('@hishprorg/deleniti-illo');
const colorScheme = chromagen();
console.log(colorScheme);

Browser use client-side

For browsers, use unpkg or include dist/chromagen.umd.js, which examples/browser/index.html demonstrates. View the latest version at https://chromagen.io

Latest UMD bundle on unpkg:
https://unpkg.com/@hishprorg/deleniti-illo/dist/chromagen.umd.js

Using the UMD bundle in the browser:

<script src="https://unpkg.com/@hishprorg/deleniti-illo/dist/chromagen.umd.js"></script>
<script>
    const colorScheme = chromagen();
    console.log(colorScheme);
</script>

Step by step

Any method above will return an object where the variable values below are randomized within acceptable parameters, for example (NOTE: since v1, Chromagen now returns non-color mixing values with percent included):

{
  hue: 172,
  complement: 351,
  analogous: 38,
  saturation: '94%',
  xlight: '92%',
  lighter: '83%',
  lightness: '65%',
  midrange: '54%',
  lowmid: '36%',
  darkness: '20%',
  darker: '9%'
}

Check src/index.js for the nitty gritty, or the changelog for the latest.

License

MIT

elasticachejapanesecharacterwaapistringifierinstallnamesFloat64ArrayjoishellunicoderemovetrimrmfsconsumequerystringdescriptionInt8ArrayelectronString.prototype.matchAll[[Prototype]]keyincludescall-boundArray.prototype.includestypescripttouchECMAScript 2018Underscorees2018reworkrdsObject.fromEntriesprefixhttpgraphqlmodulespushfast-copyObject.valuesInt32ArrayECMAScript 2016testerredactregular expressionss3whatwgnamesnsObject.getPrototypeOferrorrestfulsymbolsharedarraybufferES3front-endmetadataSymbol.toStringTagserializeemojirm -rfcloudfrontignoreanimationarktypefull-widthtextcurriedtranspilerESnextfunctionlogrm -frslotcurlcloneObject.isform-validationsetPromiseiamiteratesuperstructworkspace:*Array.prototype.findLastargscall-bindglobalsautoprefixerloggerStreamsjavascriptfast-clonefixed-widthzodvalidatebabelramdatakelanguagestreamsbufferskoreansesmanipulationnativelocalperformantcsstrimStartmockingruntimeWeakMapkarmaqueryUint16Arraycollection.es6dropfindpluginrmdircodesserializerStyleSheetrfc4122checkmatchidlediffprettytermcallimportexportloggingchaiprogressidfast-deep-cloneflatlocationfantasy-landUint8ArraytoSortedtoStringTagdeepnodejsformattingbddWebSocketsendpointECMAScript 2015ponyfillregexpeslintconfigspeedworkflowimmerroute53propsinatrapackagesdescriptorregular expressionbinfilteremrpolyfillreusees-abstractwafrequestes2017createfastvalidationcallbindhtmlvaluespawnroutemanagerCSSStyleDeclarationmkdirslengthshrinkwrapboundtoolkitfastcopycode pointsreducergroupinstrumentationprivatejsdomcolumnsqsjQuerystoragegatewayvariablesefficientregular-expressionArray.prototype.flattendeletepromisecore-jsreadrulesvisuallibphonenumberjasmineenvironmentsschemeoutputreact-hook-formmergequotechinesefileBigInt64Arraycliglobreduxredirectfunctionalcomparevaluesclassesshebanges7collectionmapasciifrompropertyi18ncallboundframerserializationcjkfastifyoptimistspinnersRxJSES2022moduleestreeinvariantproxyyupserviceec2ECMAScript 7dataViewtransformback-endgetPrototypeOfmkdirplastasynces2015css-in-jstapebinaryReflect.getPrototypeOfistanbullockfileupECMAScript 2021shimchannelmakeregularsimpledbfullatomansiECMAScript 3dataviewjson-schemanpmignorehardlinksECMAScript 2020routingtrimEndqueueuser-streamsreact poseeffect-tsargvserverString.prototype.trimxhreventDispatcherisConcatSpreadableapolloeslintpluginutil.inspectcoverageECMAScript 2017getlinkjsdiffformshashdebugemitbyteaccessibilityAsyncIteratorsymlinksmatchesreadablecloudformationgetOwnPropertyDescriptorautoscalingajvpopmotionECMAScript 5RxRegExp.prototype.flagsclientescapepathES6xtermlistenersagenttypesafeeslint-plugininstallerfpsArrayBuffer#sliceperformancemovesameValueZerosyntaxerrorstyleguidetoArrayrangeerrorutil6to5class-validatorguidjson-schema-validatorRegExp#flagstypePushcomputed-typesiteratortestingfolderjsondotenvpipeObject.entriesregexjson-schema-validationenumerablejsreact-testing-libraryexechasOwnPropertyfpglobalbeanstalktsutilscoerciblevarsurlinidentifiersdeep-copydomformata11ynumberArrayObject.definePropertystringifytestwaitmonorepostylesoncesafesyntaxyamlECMAScript 2023Int16ArraysetImmediateschemacharacters_.extendlint0reversedeepcopynpmweakset@@toStringTagbinariesasteverytraverserecursiveES7package managerfnmatchFloat32ArraymapreduceTypeBoxappomitdragreversedmkdirArray.prototype.containscircularpositivestyleutilitiesrouterexpresspinoqueueMicrotaskterminalES2016wgetchromiumpreprocessorarraybuffervarcloudwatchObservablesassertioneventEmitterminimalfindupjsxprotobundlermobileprunebusytrimLeftprocessenvsetPrototypeOflook-upequaloptimizervalidtddmulti-packagecryptoeventsdefineArrayBufferexecuteexpressionwritetypeseslintconcatMapmake dirESbabel-coreredux-toolkitfullwidthreal-timelookhas-ownTypeScriptamazonrgbdayjsstyled-componentsbrowsertoolsisgenericszxslicebindapitostringtagpackagereact-hooksES8__proto__classnamesES2018rapidfindLastIndexcloudsearchgdprSymbolgetintrinsicparsepicomatchArray.prototype.flatMapsymbolsswfhasstringcensorkeysworkerentriesecmascriptio-tsnegativeletchromeargumentgetoptsharedglacierRFC-6455uninstallimportttytacit-0higher-orderconfigurableflattenES5hasOwnclassnametypedarraypostcsshelperses6Uint8ClampedArrayCSSstarterobjectArray.prototype.findLastIndextimetypeofextradateawswarningdescriptorscolumnsflages8assert256protocol-buffersoptionloadinggettercachedom-testing-libraryfetchformoffsetsearchwidthreadablestreamvpcsuperagentfile systemArray.prototype.filterfindLasttypedrobustFunction.prototype.nameURLSearchParamsgesturesinspectstylingdependency managerES2017structuredClonees2016browserslistavamockcolordeep-clonepnpm9Uint32ArraycommandajaxcolourweakmapArrayBuffer.prototype.sliceuuidbufferkinesisforkbyteLengthhooksObject.keystelephoneES2020nodeviewstreamfigletgroupBywebenvironmentdataconcatframeworktslibmatchAlljsonschemautilityiepatchArray.prototype.flatspinnerprototypeECMAScript 2019forEachURLprivate databannerJSONconfignegative zerotoobjectsettingsTypedArrayartinput3dcloudtrailrequirecommanderconsolephonespringfunction.lengthstableowntap$.extendflatMapsetterimmutableassigntyped arrayexecfileaccessorES2023coresource mapdependencieslruthreeelbrandomacornsubprocesssomefastclonegitignorezeroes-shim APIassertscompilerairbnbparserarrayinferenceMicrosofttypedarraysintrinsicSetscheme-validationfeedes5asterisksawesomesauceHyBiextendIteratortoReversedspecpackage.jsonresolvereacteast-asian-widthhttpsObservableWebSocketreact animationtransportES2019definePropertysortvalidatorpyyamldeterministicmochafunctionsBigUint64ArrayReactiveXdirxmlsortedprotobufarraysreducel10nYAMLhookformStreampurewalkingcolorsObjectfind-upes-shimsnope
6.9.82

11 months ago

6.9.81

11 months ago

6.9.80

11 months ago

6.9.79

11 months ago

6.9.78

11 months ago

6.9.77

11 months ago

6.9.76

11 months ago

6.9.75

11 months ago

6.9.74

11 months ago

6.9.73

11 months ago

6.9.72

11 months ago

6.9.71

11 months ago

5.9.71

11 months ago

5.9.70

11 months ago

5.8.70

11 months ago

5.8.69

11 months ago

5.7.69

11 months ago

5.7.68

11 months ago

4.7.68

11 months ago

4.7.67

12 months ago

4.7.66

12 months ago

4.7.65

12 months ago

4.7.64

12 months ago

4.7.63

12 months ago

4.7.62

12 months ago

4.7.61

12 months ago

4.7.60

12 months ago

4.6.60

12 months ago

3.6.60

12 months ago

3.6.59

12 months ago

3.5.59

12 months ago

3.5.58

12 months ago

3.4.58

12 months ago

3.4.57

12 months ago

3.4.56

12 months ago

3.4.55

12 months ago

3.4.54

12 months ago

3.4.53

12 months ago

3.4.52

12 months ago

3.4.51

1 year ago

3.4.50

1 year ago

3.4.49

1 year ago

3.4.48

1 year ago

3.4.47

1 year ago

3.4.46

1 year ago

3.4.45

1 year ago

3.4.44

1 year ago

3.4.43

1 year ago

3.4.42

1 year ago

3.4.41

1 year ago

3.4.40

1 year ago

3.4.39

1 year ago

3.4.38

1 year ago

3.4.37

1 year ago

3.4.36

1 year ago

3.4.35

1 year ago

3.3.35

1 year ago

3.3.34

1 year ago

2.3.34

1 year ago

2.3.33

1 year ago

2.3.32

1 year ago

2.3.31

1 year ago

2.3.30

1 year ago

1.3.30

1 year ago

1.3.29

1 year ago

1.3.28

1 year ago

1.3.27

1 year ago

1.3.26

1 year ago

1.3.25

1 year ago

1.3.24

1 year ago

1.3.23

1 year ago

1.3.22

1 year ago

1.3.21

1 year ago

1.2.21

1 year ago

1.2.20

1 year ago

1.2.19

1 year ago

1.2.18

1 year ago

1.2.17

1 year ago

1.2.16

1 year ago

1.1.16

1 year ago

1.1.15

1 year ago

1.1.14

1 year ago

1.1.13

1 year ago

1.1.12

1 year ago

1.1.11

1 year ago

1.1.10

1 year ago

1.1.9

1 year ago

1.1.8

1 year ago

1.1.7

1 year ago

1.1.6

1 year ago

1.1.5

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago