In[]:=
Out[]=
See all of the available info:
In[]:=
FullForm
Out[]//FullForm=
ResourceFunction[ResourceObject[Association[Rule["Name","ChatTechColors"],Rule["UUID","e94a8649-0716-452b-8a07-06cee4cfd4e3"],Rule["ResourceType","Function"],Rule["ResourceLocations",List[CloudObject["https://www.wolframcloud.com/obj/sw-writings0/Resources/e94/e94a8649-0716-452b-8a07-06cee4cfd4e3"]]],Rule["Version",None],Rule["DocumentationLink",URL["https://www.wolframcloud.com/obj/sw-writings0/ChatTech/ChatTechColors"]],Rule["ExampleNotebookData",Automatic],Rule["FunctionLocation",CloudObject["https://www.wolframcloud.com/obj/sw-writings0/Resources/e94/e94a8649-0716-452b-8a07-06cee4cfd4e3/download/DefinitionData"]],Rule["ShortName","ChatTechColors"],Rule["SymbolName","FunctionRepository`$e94a86490716452b8a0706cee4cfd4e3`ChatTechColors"]]]]
Pull the "FunctionLocation" CloudObject:
In[]:=
Import[CloudObject["https://www.wolframcloud.com/obj/sw-writings0/Resources/e94/e94a8649-0716-452b-8a07-06cee4cfd4e3/download/DefinitionData"]]
Out[]=
UUIDe94a8649-0716-452b-8a07-06cee4cfd4e3,ExpressionHoldComplete,DefinitionLanguage`DefinitionListDownValuesHoldPattern[FunctionRepository`$e94a86490716452b8a0706cee4cfd4e3`key_]Association[NormalFunctionRepository`$e94a86490716452b8a0706cee4cfd4e3`colorFun,LightFunctionRepository`$e94a86490716452b8a0706cee4cfd4e3`colorFunLighter,DarkFunctionRepository`$e94a86490716452b8a0706cee4cfd4e3`colorFunDarker,OrangeFunctionRepository`$e94a86490716452b8a0706cee4cfd4e3`colorFunOrange,OrangeShortFunctionRepository`$e94a86490716452b8a0706cee4cfd4e3`colorFunOrange2,DataAssociation[Orange,Teal]][FunctionRepository`$e94a86490716452b8a0706cee4cfd4e3`key],FormatValuesHoldPatternMakeBoxes,_FunctionResource`MakeResourceFunctionBoxes[ChatTechColors],Messages{HoldPattern[FunctionRepository`$e94a86490716452b8a0706cee4cfd4e3`ChatTechColors::usage]ResourceFunction["ChatTechColors"]},FunctionRepository`$e94a86490716452b8a0706cee4cfd4e3`colorFunOwnValuesHoldPattern[FunctionRepository`$e94a86490716452b8a0706cee4cfd4e3`colorFun]Blend{-1,},-,,{0,},,,{1,},#1&,FunctionRepository`$e94a86490716452b8a0706cee4cfd4e3`colorFunLighter{OwnValues{HoldPattern[FunctionRepository`$e94a86490716452b8a0706cee4cfd4e3`colorFunLighter](Lighter[FunctionRepository`$e94a86490716452b8a0706cee4cfd4e3`colorFun[#1],0.2]&)}},FunctionRepository`$e94a86490716452b8a0706cee4cfd4e3`colorFunDarker{OwnValues{HoldPattern[FunctionRepository`$e94a86490716452b8a0706cee4cfd4e3`colorFunDarker](Darker[FunctionRepository`$e94a86490716452b8a0706cee4cfd4e3`colorFun[#1],0.15]&)}},FunctionRepository`$e94a86490716452b8a0706cee4cfd4e3`colorFunOrange{OwnValues{HoldPattern[FunctionRepository`$e94a86490716452b8a0706cee4cfd4e3`colorFunOrange](Blend[(ColorConvert[#1,RGBColor]&)/@{,,,,,,},#1]&)}},FunctionRepository`$e94a86490716452b8a0706cee4cfd4e3`colorFunOrange2{OwnValues{HoldPattern[FunctionRepository`$e94a86490716452b8a0706cee4cfd4e3`colorFunOrange2](Blend[(ColorConvert[#1,RGBColor]&)/@{,,,},#1]&)}},RequiresInitializationFalse,TimestampDateObject[{2023,2,14,1,0,38.421801},Instant,Gregorian,0.],PacletInformationNameResourceSystemClient,Version1.25.0,MathematicaVersion12.3+,LoadingAutomatic,Extensions{{Kernel,Symbols{System`PublisherID,System`ResourceAcquire,System`ResourceObject,System`ResourceRegister,System`ResourceRemove,System`ResourceSearch,System`ResourceSubmissionObject,System`ResourceSubmit,System`ResourceSystemBase,System`ResourceSystemPath,System`ResourceUpdate,System`ResourceVersion},RootKernel,Context{ResourceSystemClientLoader`,ResourceSystemClient`}},{FrontEnd,PrependTrue}},Location/Applications/Mathematica13.2.app/Contents/SystemFiles/Components/ResourceSystemClient,SystemInformationKernelSystemIDMacOSX-x86-64,ReleaseID13.2.0.0 (8085784, 2022111816486),CreationDateDateObject[3877801829,TimeZone0],OperatingSystemVersionmacOS 11.6.2 (20G314),FrontEndSystemIDMacOSX-x86-64,ReleaseID13.2.0.0 (8085784, 202211189801),CreationDateDateObject[3877803038,TimeZone0],OperatingSystemVersion11.6.2 (20G314),PacletVersion1.8.0
1
2
1
2
You can see the meat of the color part here, I think—for the voronoi cell, it just grabs this orange color:
In[]:=
Association["Orange","Teal"]["Orange"]
Out[]=
For the color function, I think it uses this color scheme:
In[]:=
chatTechColors=Blend{-1,},-,,{0,},,,{1,},#1&
1
2
1
2
Out[]=
Blend{-1,},-,,{0,},,,{1,},#1&
1
2
1
2
In[]:=
Plot3D[Sin[xy],{x,-π,π},{y,-π,π},ColorFunction->(chatTechColors[#3]&),ColorFunctionScaling->False]
Out[]=
(ColorFunctionScaling is set to false because the Blend has specific values at which the specified colors should be used, which range from -1 to 1.)