您的位置:

Lututility——完美的色彩搭配器

Lututility是什么?它是一款有着完美色彩搭配的软件。它可以由您来控制颜色梯度的强度以产生更加丰富的图像和动画。Lututility是一个非常强大的工具,它给了艺术家、动画师以及摄影师们快速、轻松地进行色彩搭配的推荐,可以大大提高工作效率和美感。

一、取色

在Lututility中,您可以轻松地进行取色并获得颜色的rgb数值和hex数值。该软件还允许您从颜色库中搜寻颜色或直接输入hex数值以及RGB数值来完成自定义的色彩搭配。

//access the color library
colorCollection = Resources.LoadAll
   ("ColorLibrary");

//get color values
float r = selectedColor.r;
float g = selectedColor.g;
float b = selectedColor.b;

   

例如,在一张图像中选定一个颜色并使用它进行梯度生成:

//select a color from the image
selectedColor = image.GetPixel(x, y);

//create a gradient from selected color using LUT
Gradient gradient = LutUtility.CreateColorGradient(selectedColor, Lut(), 256);

Lututility还为您提供了丰富的调整选项,包括亮度、对比度、饱和度、色相和渐变控制等等。

二、创建LUT

创建LUT是lututility的核心,它允许您将图像转换成2D的LUT颜色梯度,并定义颜色之间的交替方式。这就是我们可以轻松创建漂亮渐变的原因。

//create a LUT object
LUT lut = new LUT(512, 512);

//set the Lut gradient
lut.Gradient = LutUtility.CreateColorGradient(Color.red, new Gradient(), 256);

//apply Lut
texture.filterMode = FilterMode.Point;
lut.Apply(texture);

这里我们看到,在创建一个LUT object后,您可以使用各种方法调整其属性。在这个例子中,我们使用CreateColorGradient方法为LUT定义了一个Gradient。

三、混合图像

混合图像可以使您轻松加强或减弱一张图片的特定色彩,使整张图片更加生动。

// blend texture with Lut
Texture2D blendedTexture = LutUtility.BlendTextureWithLUT(texture, lut);

该软件允许我们使用BlendTextureWithLUT函数完成图像混合的过程。

四、色相调整

使用Hue Saturation和Value属性,我们可以轻松地调整图像的色相,饱和度和亮度。

//adjust saturation
LutUtility.HueSaturationValue(lut, 0, saturation, 0);

在这个例子中,我们使用HueSaturationValue方法来调整LUT对象的饱和度。

五、结语

总之,Lututility是一个非常方便,强大的工具,让您掌握并控制色彩搭配的过程。它可以帮助您快速创建漂亮的色彩搭配,并将其应用于图像和动画中。真心建议育学生和职业专业人士一试。

Lututility——完美的色彩搭配器

2023-05-19
Android 颜色搭配技巧,让界面更美观

Android作为当今智能手机市场的主力军之一,其界面设计风格一直备受关注。而界面设计中颜色搭配的重要性不言而喻。正确的颜色搭配不仅可以使用户体验更加舒适,还可以增强品牌的辨识度和形象。本文将从多个方

2023-12-08
CSS十六进制颜色:如何选择网站的完美色调

2023-05-12
CSS颜色代码:如何让你的网站色彩更美好

2023-05-12
色彩方案:如何为您的网站选择最佳配色?

2023-05-12
java笔记,大学java笔记

2022-11-28
探究 Echarts 饼图的颜色色彩设计

2023-05-19
java笔记,尚硅谷java笔记

2022-12-01
Matlab配色的细节

2023-05-18
when-present<#else>when-missing. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: ${item.id} [in template "article/detail/index.ftl" at line 48, column 106] ---- Java stack trace (for programmers): ---- freemarker.core.InvalidReferenceException: [... Exception message was already printed; see it above ...] at freemarker.core.InvalidReferenceException.getInstance(InvalidReferenceException.java:134) at freemarker.core.EvalUtil.coerceModelToTextualCommon(EvalUtil.java:481) at freemarker.core.EvalUtil.coerceModelToStringOrMarkup(EvalUtil.java:401) at freemarker.core.EvalUtil.coerceModelToStringOrMarkup(EvalUtil.java:370) at freemarker.core.DollarVariable.calculateInterpolatedStringOrMarkup(DollarVariable.java:104) at freemarker.core.DollarVariable.accept(DollarVariable.java:63) at freemarker.core.Environment.visit(Environment.java:371) at freemarker.core.IteratorBlock$IterationContext.executedNestedContentForCollOrSeqListing(IteratorBlock.java:321) at freemarker.core.IteratorBlock$IterationContext.executeNestedContent(IteratorBlock.java:271) at freemarker.core.IteratorBlock$IterationContext.accept(IteratorBlock.java:244) at freemarker.core.Environment.visitIteratorBlock(Environment.java:645) at freemarker.core.IteratorBlock.acceptWithResult(IteratorBlock.java:108) at freemarker.core.IteratorBlock.accept(IteratorBlock.java:94) at freemarker.core.Environment.visit(Environment.java:335) at freemarker.core.Environment.visit(Environment.java:341) at freemarker.core.Environment.visit(Environment.java:341) at freemarker.core.Environment.process(Environment.java:314) at freemarker.template.Template.process(Template.java:383) at org.springframework.web.servlet.view.freemarker.FreeMarkerView.processTemplate(FreeMarkerView.java:332) at org.springframework.web.servlet.view.freemarker.FreeMarkerView.doRender(FreeMarkerView.java:266) at org.springframework.web.servlet.view.freemarker.FreeMarkerView.renderMergedTemplateModel(FreeMarkerView.java:220) at org.springframework.web.servlet.view.AbstractTemplateView.renderMergedOutputModel(AbstractTemplateView.java:181) at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:314) at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1431) at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1167) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1106) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:979) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1014) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:903) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:564) at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:205) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) at com.software.filter.HttpSpiderIdentifyFilter.doFilter(HttpSpiderIdentifyFilter.java:51) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:340) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1744) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at java.base/java.lang.VirtualThread.run(VirtualThread.java:309)