<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yotubarail</author_name>
  <author_url>https://blog.hatena.ne.jp/yotubarail/</author_url>
  <blog_title>ばろぐ・ほいダウン</blog_title>
  <blog_url>https://yotubarail.work/</blog_url>
  <categories>
    <anon>Swift</anon>
    <anon>プログラミング</anon>
  </categories>
  <description>SwiftUIで色を指定して背景色を設定していきます。 基本的な設定 Text(&quot;Hello, World!&quot;) .background(Color.green) これでおしまいです。 簡単ですね。 こんな感じで表示されます。 しかし、この方法では赤や青といったような基本的な色は出せても細かい調整ができません。 RGBで設定する よりたくさんの色を指定できるようRGBを使って設定してみましょう。 Text(&quot;Hello, World!&quot;) .background(Color(red: 0.5, green: 0.5, blue: 0.5, opacity: 0.5)) 赤(red)、緑(gre…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyotubarail.work%2Fentry%2Fswiftuibackgroundcolor&quot; title=&quot;SwiftUIでViewの背景色を設定しよう - ばろぐ・ほいダウン&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/y/yotubarail/20201105/20201105131652.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-11-05 18:30:00</published>
  <title>SwiftUIでViewの背景色を設定しよう</title>
  <type>rich</type>
  <url>https://yotubarail.work/entry/swiftuibackgroundcolor</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
